function DuplicateConfigAction::apply

Same name in other branches
  1. 10 core/modules/config/tests/config_action_duplicate_test/src/Plugin/ConfigAction/DuplicateConfigAction.php \Drupal\config_action_duplicate_test\Plugin\ConfigAction\DuplicateConfigAction::apply()

Overrides ConfigActionPluginInterface::apply

File

core/modules/config/tests/config_action_duplicate_test/src/Plugin/ConfigAction/DuplicateConfigAction.php, line 21

Class

DuplicateConfigAction

Namespace

Drupal\config_action_duplicate_test\Plugin\ConfigAction

Code

public function apply(string $configName, mixed $value) : void {
    // This method should never be called.
    throw new \BadMethodCallException();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.