Breaking: #88496 - Method getSwitchableControllerActions has been removed 

See forge#88496

Description 

The abstract method \TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager::getSwitchableControllerActions has been removed in favor of \TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager::getControllerConfiguration. While the method name changes, the expected implemented functionality stays the same.

Impact 

Method getSwitchableControllerActions will no longer be called. Instead getControllerConfiguration is expected to be implemented by classes that extend \TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager.

Affected Installations 

All installations that have custom configuration managers that extend \TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager.

Migration 

Rename method getSwitchableControllerActions to getControllerConfiguration to be TYPO3 >= 10 compatible.

To stay compatible with both version 10 and lower, simply implement both methods and call getSwitchableControllerActions from within getControllerConfiguration.

Example:

protected function getSwitchableControllerActions($extensionName, $pluginName)
{
    return $this->getControllerConfiguration($extensionName, $pluginName);
}
Copied!