public function CachedStorage::encode

Implements Drupal\Core\Config\StorageInterface::encode().

Overrides StorageInterface::encode

File

drupal/core/lib/Drupal/Core/Config/CachedStorage.php, line 125
Contains Drupal\Core\Config\CachedStorage.

Class

CachedStorage
Defines the cached storage controller.

Namespace

Drupal\Core\Config

Code

public function encode($data) {
  return $this->storage
    ->encode($data);
}