You are here

public function ConfigUpdater::loadFromActive in Commerce Core 8.2

Loads configuration from active storage.

Parameters

string $config_name: The configuration name.

Return value

array|false The configuration data, or FALSE if not found.

Overrides ConfigUpdaterInterface::loadFromActive

3 calls to ConfigUpdater::loadFromActive()
ConfigUpdater::delete in src/Config/ConfigUpdater.php
Deletes configuration.
ConfigUpdater::import in src/Config/ConfigUpdater.php
Imports configuration from extension storage to active storage.
ConfigUpdater::revert in src/Config/ConfigUpdater.php
Reverts configuration to the values from extension storage.

File

src/Config/ConfigUpdater.php, line 205

Class

ConfigUpdater
Default implementation of the ConfigUpdaterInterface.

Namespace

Drupal\commerce\Config

Code

public function loadFromActive($config_name) {
  return $this->activeConfigStorage
    ->read($config_name);
}