function ConfigActionManager::alterDefinitions
Same name in other branches
- 10 core/lib/Drupal/Core/Config/Action/ConfigActionManager.php \Drupal\Core\Config\Action\ConfigActionManager::alterDefinitions()
Overrides DefaultPluginManager::alterDefinitions
File
-
core/
lib/ Drupal/ Core/ Config/ Action/ ConfigActionManager.php, line 253
Class
Namespace
Drupal\Core\Config\ActionCode
public function alterDefinitions(&$definitions) : void {
// Adds backwards compatibility for plugins that have been renamed.
foreach (self::$deprecatedPluginIds as $legacy => $new_plugin_id) {
$definitions[$legacy] = $definitions[$new_plugin_id['replacement']];
}
parent::alterDefinitions($definitions);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.