[TYPO3-english] Re: Access settings from hook class

Thomas Skierlo tsk at pix-pro.eu
Sat Sep 14 19:19:29 CEST 2013


Replying to myself,

Just found a way:

$objectManager = t3lib_div::makeInstance('Tx_Extbase_Object_ObjectManager');
$configurationManager = $objectManager->get('Tx_Extbase_Configuration_ConfigurationManagerInterface');
$this->settings = $configurationManager->getConfiguration(
		Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS, 'portable_layout'
);

Is there a better way for 6.1/6.2?


More information about the TYPO3-english mailing list