public function StorageInterface::decode in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::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.
8 methods override StorageInterface::decode()
- CachedStorage::decode in core/
lib/ Drupal/ Core/ Config/ CachedStorage.php  - Decodes configuration data from the storage-specific format.
 - DatabaseStorage::decode in core/
lib/ Drupal/ Core/ Config/ DatabaseStorage.php  - Implements Drupal\Core\Config\StorageInterface::decode().
 - FileStorage::decode in core/
lib/ Drupal/ Core/ Config/ FileStorage.php  - Decodes configuration data from the storage-specific format.
 - ManagedStorage::decode in core/
lib/ Drupal/ Core/ Config/ ManagedStorage.php  - Decodes configuration data from the storage-specific format.
 - MemoryStorage::decode in core/
lib/ Drupal/ Core/ Config/ MemoryStorage.php  - Decodes configuration data from the storage-specific format.
 
File
- core/
lib/ Drupal/ Core/ Config/ StorageInterface.php, line 119  
Class
- StorageInterface
 - Defines an interface for configuration storage.
 
Namespace
Drupal\Core\ConfigCode
public function decode($raw);