public function ConfigActionsSourceInterface::setData in Config Actions 8
Set the data cached in this plugin instance. Causes the plugin to be marked as Changed.
Parameters
array $data:
bool $changed: whether to marked the data as changed.
Return value
array Returns the $data
1 method overrides ConfigActionsSourceInterface::setData()
- ConfigActionsSourceBase::setData in src/
ConfigActionsSourceBase.php - Set the data cached in this plugin instance. Causes the plugin to be marked as Changed.
File
- src/
ConfigActionsSourceInterface.php, line 72
Class
- ConfigActionsSourceInterface
- Defines an interface for config actions plugins
Namespace
Drupal\config_actionsCode
public function setData($data = [], $changed = TRUE);