You are here

public function ConfigActionsId::doLoad in Config Actions 8

Load data from the source.

Return value

array config data

Overrides ConfigActionsSourceBase::doLoad

File

src/Plugin/ConfigActionsSource/ConfigActionsId.php, line 155

Class

ConfigActionsId
Plugin for config id from the active store.

Namespace

Drupal\config_actions\Plugin\ConfigActionsSource

Code

public function doLoad() {
  $this
    ->setMerge(FALSE);
  $config_item = $this
    ->getConfigItem();
  $data = !empty($config_item) ? $config_item
    ->get() : [];
  return $data;
}