public function StorageInterface::decode

Decodes configuration data from the storage-specific format.

Parameters

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

Return value

array The decoded configuration data as an associative array.

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

4 methods override StorageInterface::decode()
CachedStorage::decode in drupal/core/lib/Drupal/Core/Config/CachedStorage.php
Implements Drupal\Core\Config\StorageInterface::decode().
DatabaseStorage::decode in drupal/core/lib/Drupal/Core/Config/DatabaseStorage.php
Implements Drupal\Core\Config\StorageInterface::decode().
FileStorage::decode in drupal/core/lib/Drupal/Core/Config/FileStorage.php
Implements Drupal\Core\Config\StorageInterface::decode().
NullStorage::decode in drupal/core/lib/Drupal/Core/Config/NullStorage.php
Implements Drupal\Core\Config\StorageInterface::decode().

File

drupal/core/lib/Drupal/Core/Config/StorageInterface.php, line 104
Definition of Drupal\Core\Config\StorageInterface.

Class

StorageInterface
Defines an interface for configuration storage controllers.

Namespace

Drupal\Core\Config

Code

public function decode($raw);