christian2222
christian2222

Reputation: 95

Getting settings from backend configuration in TYPO3

I have an own extension (created with extension-builder). In the backend I have different options that I can choose when I edit my plugin. How can I access them in PHP especially from a controller context? Thanks for your help in advance.

Upvotes: 1

Views: 1067

Answers (1)

Jonas Eberle
Jonas Eberle

Reputation: 2921

When you use the settings. prefix in your plugin's FlexForm you can access them via $this->settings in the Extbase controller just as you would access TypoScript plugin settings. FlexForm settings get overlaid onto TypoScript's tx_xxxx.plugin.settings.

See https://stackoverflow.com/a/19703365/2819581 for an example.

Upvotes: 4

Related Questions