You are here

public function ReadOnlyStorage::decode in Config Filter 8

Same name and namespace in other branches
  1. 8.2 src/Config/ReadOnlyStorage.php \Drupal\config_filter\Config\ReadOnlyStorage::decode()

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/ReadOnlyStorage.php, line 86

Class

ReadOnlyStorage
Class ReadOnlyStorage.

Namespace

Drupal\config_filter\Config

Code

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