[TYPO3-dev] How to get Plugin settings in ExtBase Repository in v6.2

Benjamin Mack benni at typo3.org
Fri May 9 14:56:02 CEST 2014


hey Christian,

nice to read you here :)

I suggest you use the object manager.

basically:

1) makeInstance of the objectManager

2) $objectManager->get('TYPO3\\CMS\\Extbase\\
Configuration\\ConfigurationManager');

(please note the double backslashes)

3)
$configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS,
'myplugin', 'mysettings');


But yeah, seems like you missed the double backslashes.

All the best,
Benni.



More information about the TYPO3-dev mailing list