TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\T3skin\Hook\StyleGenerationHook Class Reference

Public Member Functions

 preStartPageHook ($hookParameters, \TYPO3\CMS\Backend\Template\DocumentTemplate $documentTemplate)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Hook for adding styles to backend page-generation in DocumentTemplate

Author
Stefan Neufeind <info [at] speedpartner.de>

Definition at line 22 of file StyleGenerationHook.php.

Member Function Documentation

◆ preStartPageHook()

TYPO3\CMS\T3skin\Hook\StyleGenerationHook::preStartPageHook (   $hookParameters,
\TYPO3\CMS\Backend\Template\DocumentTemplate  $documentTemplate 
)

Hooks into the ::startPage and adds styles based on settings from color-schema from $GLOBALS['TBE_STYLES']

Parameters
array$hookParameters
\TYPO3\CMS\Backend\Template\DocumentTemplate$documentTemplateReference to instance of DocumentTemplate
Returns
void

Definition at line 32 of file StyleGenerationHook.php.

References $GLOBALS.