2 namespace TYPO3\CMS\Backend\Backend\ToolbarItems;
42 public function __construct()
61 $result = (bool)$this->helpModuleMenu;
72 return $this->iconFactory->getIcon(
'apps-toolbar-menu-help',
Icon::SIZE_SMALL)->render(
'inline');
83 $dropdown[] =
'<ul class="dropdown-list">';
84 foreach ($this->helpModuleMenu->getChildren() as $module) {
86 $moduleIcon = $module->getIcon();
88 .
' id="' . htmlspecialchars($module->getName()) .
'"'
89 .
' class="typo3-module-menu-item submodule mod-' . htmlspecialchars($module->getName()) .
'" '
90 .
' data-modulename="' . htmlspecialchars($module->getName()) .
'"'
91 .
' data-navigationcomponentid="' . htmlspecialchars($module->getNavigationComponentId()) .
'"'
92 .
' data-navigationframescript="' . htmlspecialchars($module->getNavigationFrameScript()) .
'"'
93 .
' data-navigationframescriptparameters="' . htmlspecialchars($module->getNavigationFrameScriptParameters()) .
'"'
95 $dropdown[] =
'<a title="' . htmlspecialchars($module->getDescription()) .
'" href="' . htmlspecialchars($module->getLink()) .
'" class="dropdown-list-link modlink">';
96 $dropdown[] =
'<span class="submodule-icon typo3-app-icon"><span><span>' . $moduleIcon .
'</span></span></span>';
97 $dropdown[] =
'<span class="submodule-label">' . htmlspecialchars($module->getTitle()) .
'</span>';
99 $dropdown[] =
'</li>';
101 $dropdown[] =
'</ul>';
102 return implode(LF, $dropdown);
112 return array(
'class' =>
'typo3-module-menu-group');