[TYPO3-mvc] Accessing setup information in a hook

Thomas Skierlo pubtsk1 at pix-pro.eu
Sat Feb 16 16:57:17 CET 2013


Hallo again,

I'm currently trying to manipulate a Flexform using 
"getFlexFormDS_postProcessDS" hook from "t3lib_BEfunc". The hook works 
perfectly with test data, but I need it to work with settings from my 
Setup. Tried to access them like this...

$objectManager = t3lib_div::makeInstance('Tx_Extbase_Object_ObjectManager');

$configurationManager = $objectManager->get('Tx_Extbase_Configuration_ConfigurationManagerInterface');

$frameworkConfiguration = $configurationManager->getConfiguration(

Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);

$this->settings = $frameworkConfiguration['settings'];

but a debug showed them empty.

Any ideas?

Regards,

Thomas



More information about the TYPO3-project-typo3v4mvc mailing list