Issue Feature Closed

#92358Add public getModuleTemplate() to TYPO3\CMS\Backend\Controller\PageLayoutController

Georg Tiefenbrunn 09/21/20, 13:25 updated 09/07/21, 07:37

Description

Overall goal: Alter docHeader of module web_layout via drawHeaderHook.

Specific goal: Add a “close” button to module web_layout.

PageLayoutController is passed to e.g. $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook']. With access to PageLayoutController::$moduleTemplate we could easily add/modify action buttons.

Reviews 1