You are here

public function ConfigActionsArray::doSave in Config Actions 8

Save data to the source.

Parameters

array $data:

Return value

bool TRUE if the data was saved.

Overrides ConfigActionsSourceBase::doSave

File

src/Plugin/ConfigActionsSource/ConfigActionsArray.php, line 37

Class

ConfigActionsArray
Plugin for storing source data from an array. This runs last to allow any other plugins to detect themselves first.

Namespace

Drupal\config_actions\Plugin\ConfigActionsSource

Code

public function doSave($data) {
  $this->sourceId = $data;
  return TRUE;
}