Config Action API

Same name in other branches
  1. 10 core/lib/Drupal/Core/Config/Action/ConfigActionManager.php \Drupal\Core\Config\Action\config_action_api

Information about the classes and interfaces that make up the Config Action API.

Configuration actions are plugins that manipulate simple configuration or configuration entities. The configuration action plugin manager can apply configuration actions. For example, the API is leveraged by recipes to create roles if they do not exist already and grant permissions to those roles.

To define a configuration action in a module you need to:

Further information and examples:

@internal This API is experimental.

File

core/lib/Drupal/Core/Config/Action/ConfigActionManager.php, line 55

Classes

Title Sort descending File name Summary
ConfigAction core/lib/Drupal/Core/Config/Action/Attribute/ConfigAction.php Defines a ConfigAction attribute object.

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