[BUGFIX] Add context menu to page translations in info module
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_note / ext_localconf.php
1 <?php
2
3 defined('TYPO3') or die();
4
5 // Hook into the page modules
6 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeaderHook']['sys_note'] = \TYPO3\CMS\SysNote\Hook\PageHook::class . '->renderInHeader';
7 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawFooterHook']['sys_note'] = \TYPO3\CMS\SysNote\Hook\PageHook::class . '->renderInFooter';
8 // Hook into the info module
9 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/web_info/class.tx_cms_webinfo.php']['drawFooterHook']['sys_note'] = \TYPO3\CMS\SysNote\Hook\InfoModuleHook::class . '->render';
10 // Hook into the button bar
11 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Backend\Template\Components\ButtonBar']['getButtonsHook']['sys_note'] = \TYPO3\CMS\SysNote\Hook\ButtonBarHook::class . '->getButtons';