You are here

public function SourceStorage::decode in Configuration installer 8

Decodes configuration data from the storage-specific format.

This is a publicly accessible static method to allow for alternative usages in data conversion scripts and also tests.

Parameters

string $raw: The raw configuration data string to decode.

Return value

array The decoded configuration data as an associative array.

Overrides StorageInterface::decode

File

src/Storage/SourceStorage.php, line 105

Class

SourceStorage
Wraps the sync storage so the config_installer can make modifications.

Namespace

Drupal\config_installer\Storage

Code

public function decode($raw) {
  return $this->baseStorage
    ->decode($raw);
}