32 if (!empty($conf[
'if.']) && !$this->cObj->checkIf($conf[
'if.'])) {
40 $menuObjectFactory = GeneralUtility::makeInstance(Menu\MenuContentObjectFactory::class);
41 $menu = $menuObjectFactory->getMenuObjectByType($menuType);
42 $GLOBALS[
'TSFE']->register[
'count_HMENU']++;
43 $GLOBALS[
'TSFE']->register[
'count_HMENU_MENUOBJ'] = 0;
44 $GLOBALS[
'TSFE']->register[
'count_MENUOBJ'] = 0;
45 $GLOBALS[
'TSFE']->applicationData[
'GMENU_LAYERS'][
'WMid'] = [];
46 $GLOBALS[
'TSFE']->applicationData[
'GMENU_LAYERS'][
'WMparentId'] = [];
50 $theValue .= $menu->writeMenu();
51 }
catch (Menu\
Exception\NoSuchMenuTypeException $e) {
53 $wrap = isset($conf[
'wrap.']) ? $this->cObj->stdWrap($conf[
'wrap'], $conf[
'wrap.']) : $conf[
'wrap'];
55 $theValue = $this->cObj->wrap($theValue, $wrap);
57 if (isset($conf[
'stdWrap.'])) {
58 $theValue = $this->cObj->stdWrap($theValue, $conf[
'stdWrap.']);