1 config.inc public ConfigStorageInterface::encode($data)

Encodes configuration data into the storage-specific format.

Parameters

array $data: The configuration data to encode.

Return value

string: The encoded configuration data.

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

File

core/includes/config.inc, line 971
This is the API for configuration storage.

Class

ConfigStorageInterface
Defines an interface for configuration storage controllers.

Code

public function encode($data);