ConfigActionPluginInterface.php

Namespace

Drupal\Core\Config\Action

File

core/lib/Drupal/Core/Config/Action/ConfigActionPluginInterface.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Core\Config\Action;


/**
 * @internal
 *   This API is experimental.
 */
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;

}

Interfaces

Title Deprecated Summary
ConfigActionPluginInterface @internal This API is experimental.

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