Feature #92705

Provide API for developers to adjust registered Extbase plugins

Added by Daniel Siepmann 29 days ago. Updated 29 days ago.

Status:
New
Priority:
Should have
Category:
Extbase
Target version:
Start date:
2020-10-26
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Right now it is only possible to re configure a plugin by calling \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin a 2nd time.
Also in order to change the default Controller-Action-Combination one needs to unset $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['ExtensionName']['plugins']['PluginName'] upfront.

That is very clunky and a clean API to configure and reconfigure a plugin would be much better.
Also Extbase could use a clean API in order to retrieve those info, instead of accessing a TYPO3_CONF_VARS array.

The new API should also only be intended for use within ext_localconf.php, not during runtime.

#1

Updated by Daniel Siepmann 29 days ago

  • Description updated (diff)
#2

Updated by Daniel Siepmann 29 days ago

There is already a first rough version of a patch, without an actual issue on forge, maybe this can be used as a base: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63396

Also available in: Atom PDF