Reputation: 95
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
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