label elements that will be converted to inputs to * obtain from the user. */ public function getRequiredKeyFields(): array { return [ 'secret' => 'mautic.integration.outlook.secret', ]; } /** * @return array */ public function getFormNotes($section) { if ('custom' === $section) { return [ 'template' => '@MauticOutlook/Integration/form.html.twig', 'parameters' => [ 'mauticUrl' => UrlHelper::rel2abs('/index.php'), ], ]; } return parent::getFormNotes($section); } }