ext_localconf.php 509 Bytes
Newer Older
Georg Ringer's avatar
Georg Ringer committed
1
<?php
2

3
4
declare(strict_types=1);

5
6
7
use TYPO3\CMS\SysNote\Hook\ButtonBarHook;
use TYPO3\CMS\SysNote\Hook\InfoModuleHook;

8
defined('TYPO3') or die();
9

10
// Hook into the info module
11
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/web_info/class.tx_cms_webinfo.php']['drawFooterHook']['sys_note'] = InfoModuleHook::class . '->render';
12
// Hook into the button bar
13
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Backend\Template\Components\ButtonBar']['getButtonsHook']['sys_note'] = ButtonBarHook::class . '->getButtons';