interface ConfigActionPluginInterface

Same name and namespace in other branches
  1. 10 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

14 files declare their use of ConfigActionPluginInterface
AddComponent.php in core/modules/layout_builder/src/Plugin/ConfigAction/AddComponent.php
AddItemToToolbar.php in core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php
AddModeration.php in core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php
AddNavigationBlock.php in core/modules/navigation/src/Plugin/ConfigAction/AddNavigationBlock.php
AddToAllBundles.php in core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.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. 14

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