You are here

public function SplitCollectionStorage::decode in Configuration Split 2.0.x

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/Config/SplitCollectionStorage.php, line 106

Class

SplitCollectionStorage
A config storage that lives in a collection of another config storage.

Namespace

Drupal\config_split\Config

Code

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