public function ConfigActionsAdd::transform in Config Actions 8
Main transform to perform the add
Overrides ConfigActionsPluginBase::transform
File
- src/
Plugin/ ConfigActions/ ConfigActionsAdd.php, line 36
Class
- ConfigActionsAdd
- Plugin for changing data.
Namespace
Drupal\config_actions\Plugin\ConfigActionsCode
public function transform(array $source) {
$this
->validatePath($source);
return ConfigActionsTransform::add($source, $this->path, $this->value, TRUE);
}