src/Widgets/SubDcaWidget.php
protected function getHelpWizard($key, $field)
    {
        // Add the help wizard.
        if (empty($field['eval']['helpwizard'])) {
            return '';
        }

        $event = new GenerateHtmlEvent(
            'about.svg',
            $GLOBALS['TL_LANG']['MSC']['helpWizard'],
            'style="vertical-align:text-bottom;"'
        );
        $this->getEventDispatcher()->dispatch(ContaoEvents::IMAGE_GET_HTML, $event);

        return sprintf(
            ' <a href="%shelp.php?table=%s&amp;field=%s_%s" title="%s" rel="lightbox[help 610 80%]">%s</a>',
            TL_PATH . 'contao/',
            $this->strTable,
            $this->strName,
            $key,
            StringUtil::specialchars($GLOBALS['TL_LANG']['MSC']['helpWizard']),
            $event->getHtml()
        );
    }
protected function getHelpWizard($key, $field)
    {
        // Add the help wizard.
        if (empty($field['eval']['helpwizard'])) {
            return '';
        }

        $event = new GenerateHtmlEvent(
            'about.svg',
            $GLOBALS['TL_LANG']['MSC']['helpWizard'],
            'style="vertical-align:text-bottom;"'
        );
        $this->getEventDispatcher()->dispatch(ContaoEvents::IMAGE_GET_HTML, $event);

        return sprintf(
            ' <a href="%shelp.php?table=%s&amp;field=%s_%s" title="%s" rel="lightbox[help 610 80%]">%s</a>',
            TL_PATH . 'contao/',
            $this->strTable,
            $this->strName,
            $key,
            StringUtil::specialchars($GLOBALS['TL_LANG']['MSC']['helpWizard']),
            $event->getHtml()
        );
    }
Generate an help wizard if needed.

@param string $key   The widget name.

@param array  $field The field DCA - might get changed within this routine.

@return string

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)