/**
  * Calls the 'main' function inside the "Function menu module" if present
  *
  * @return void
  */
 public function extObjContent()
 {
     if ($this->extObj === null) {
         $flashMessage = GeneralUtility::makeInstance(FlashMessage::class, $this->getLanguageService()->sL('LLL:EXT:backend/Resources/Private/Language/locallang.xlf:no_modules_registered'), $this->getLanguageService()->getLL('title'), FlashMessage::ERROR);
         /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
         $flashMessageService = GeneralUtility::makeInstance(FlashMessageService::class);
         /** @var $defaultFlashMessageQueue \TYPO3\CMS\Core\Messaging\FlashMessageQueue */
         $defaultFlashMessageQueue = $flashMessageService->getMessageQueueByIdentifier();
         $defaultFlashMessageQueue->enqueue($flashMessage);
     } else {
         $this->extObj->pObj = $this;
         if (is_callable(array($this->extObj, 'main'))) {
             $this->content .= $this->extObj->main();
         }
     }
 }
 /**
  * Calls the 'main' function inside the "Function menu module" if present
  *
  * @return void
  */
 public function extObjContent()
 {
     if ($this->extObj === null) {
         $flashMessage = GeneralUtility::makeInstance(FlashMessage::class, $this->getLanguageService()->sL('LLL:EXT:backend/Resources/Private/Language/locallang.xlf:no_modules_registered'), $this->getLanguageService()->getLL('title'), FlashMessage::ERROR);
         $this->content .= $flashMessage->render();
     } else {
         $this->extObj->pObj = $this;
         if (is_callable(array($this->extObj, 'main'))) {
             $this->content .= $this->extObj->main();
         }
     }
 }