You are here

public function ConfigSnapshotStorage::decode in Config Snapshot 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/ConfigSnapshotStorage.php, line 176

Class

ConfigSnapshotStorage
Provides a configuration storage saved as simple configuration.

Namespace

Drupal\config_snapshot

Code

public function decode($raw) {
  return $raw;
}