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

Christian Ludwig cl at viazenetti.de
Fri May 9 14:55:50 CEST 2014


Hi Mark,

yes I did

	/**
	 * @var \TYPO3\CMS\Extbase\Configuration\ConfigurationManager
	 */
	protected $configurationManager;

The problem ist that the repository is not loaded by the MVC framework
but by a FlexForm.

Christian

-----Original Message-----
From: Mark Howells-Mead
Sent: Friday, May 09, 2014 1:30 PM

> $this->settings = 
> $this->configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Confi
> guration\ConfigurationManager Interface::CONFIGURATION_TYPE_SETTINGS,
>                     'myPlugin',
>                     'tx_myExtension');
> 
> It results in:
> Call to a member function getConfiguration() on a non-object.

Have you defined $configurationManager as a class variable?

Mark Howells-Mead
http://www.frappant.ch/
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev






More information about the TYPO3-dev mailing list