You are here

public function StorageInterface::decode in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::decode()
  2. 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.

1 method overrides StorageInterface::decode()
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\Config

Code

public function decode($raw);