interface ConfigActionPluginInterface

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Config/Action/ConfigActionPluginInterface.php \Drupal\Core\Config\Action\ConfigActionPluginInterface

@internal This API is experimental.

Hierarchy

Expanded class hierarchy of ConfigActionPluginInterface

All classes that implement ConfigActionPluginInterface

8 files declare their use of ConfigActionPluginInterface
AddItemToToolbar.php in core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php
AddModeration.php in core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php
AddToAllBundles.php in core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php
DuplicateConfigAction.php in core/modules/config/tests/config_action_duplicate_test/src/Plugin/ConfigAction/DuplicateConfigAction.php
EntityCreate.php in core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityCreate.php

... See full list

File

core/lib/Drupal/Core/Config/Action/ConfigActionPluginInterface.php, line 11

Namespace

Drupal\Core\Config\Action
View source
interface ConfigActionPluginInterface {
  
  /**
   * Applies the config action.
   *
   * @param string $configName
   *   The name of the config to apply the action to.
   * @param mixed $value
   *   The value for the action to use.
   *
   * @throws ConfigActionException
   */
  public function apply(string $configName, mixed $value) : void;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ConfigActionPluginInterface::apply public function Applies the config action. 8

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