DuplicateConfigAction.php
Same filename in other branches
Namespace
Drupal\config_action_duplicate_test\Plugin\ConfigActionFile
-
core/
modules/ config/ tests/ config_action_duplicate_test/ src/ Plugin/ ConfigAction/ DuplicateConfigAction.php
View source
<?php
namespace Drupal\config_action_duplicate_test\Plugin\ConfigAction;
use Drupal\Core\Config\Action\Attribute\ConfigAction;
use Drupal\Core\Config\Action\ConfigActionPluginInterface;
use Drupal\Core\StringTranslation\TranslatableMarkup;
final class DuplicateConfigAction implements ConfigActionPluginInterface {
/**
* {@inheritdoc}
*/
public function apply(string $configName, mixed $value) : void {
// This method should never be called.
throw new \BadMethodCallException();
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DuplicateConfigAction |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.