function ConfigActionPluginInterface::apply
Same name in other branches
- 10 core/lib/Drupal/Core/Config/Action/ConfigActionPluginInterface.php \Drupal\Core\Config\Action\ConfigActionPluginInterface::apply()
Applies the config action.
Parameters
string $configName: The name of the config to apply the action to.
mixed $value: The value for the action to use.
Throws
11 methods override ConfigActionPluginInterface::apply()
- AddItemToToolbar::apply in core/
modules/ ckeditor5/ src/ Plugin/ ConfigAction/ AddItemToToolbar.php - AddModeration::apply in core/
modules/ content_moderation/ src/ Plugin/ ConfigAction/ AddModeration.php - AddToAllBundles::apply in core/
modules/ field/ src/ Plugin/ ConfigAction/ AddToAllBundles.php - CreateForEachBundle::apply in core/
lib/ Drupal/ Core/ Config/ Action/ Plugin/ ConfigAction/ CreateForEachBundle.php - DuplicateConfigAction::apply in core/
modules/ config/ tests/ config_action_duplicate_test/ src/ Plugin/ ConfigAction/ DuplicateConfigAction.php
File
-
core/
lib/ Drupal/ Core/ Config/ Action/ ConfigActionPluginInterface.php, line 23
Class
- ConfigActionPluginInterface
- @internal This API is experimental.
Namespace
Drupal\Core\Config\ActionCode
public function apply(string $configName, mixed $value) : void;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.