You are here

public function MongodbConfigStorage::decode in MongoDB 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/MongodbConfigStorage.php, line 146
Definition of Drupal\mongodb\Config\MongoStorage.

Class

MongodbConfigStorage

Namespace

Drupal\mongodb

Code

public function decode($data) {

  // WTF is this part of general StorageInterface if it is only needed for
  // file-based backends?
  return $data;
}