Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigActionPluginInterface.php

function 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

ConfigActionException

11 methods override ConfigActionPluginInterface::apply()
AddItemToToolbar::apply in core/modules/ckeditor5/src/Plugin/ConfigAction/AddItemToToolbar.php
Applies the config action.
AddModeration::apply in core/modules/content_moderation/src/Plugin/ConfigAction/AddModeration.php
Applies the config action.
AddNavigationBlock::apply in core/modules/navigation/src/Plugin/ConfigAction/AddNavigationBlock.php
Applies the config action.
AddToAllBundles::apply in core/modules/field/src/Plugin/ConfigAction/AddToAllBundles.php
Applies the config action.
CreateForEachBundle::apply in core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/CreateForEachBundle.php
Applies the config action.

... See full list

File

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

Class

ConfigActionPluginInterface
@internal This API is experimental.

Namespace

Drupal\Core\Config\Action

Code

public function apply(string $configName, mixed $value) : void;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal