function DatabaseStorage::encode

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Config/DatabaseStorage.php \Drupal\Core\Config\DatabaseStorage::encode()

File

core/lib/Drupal/Core/Config/DatabaseStorage.php, line 251

Class

DatabaseStorage
Defines the Database storage.

Namespace

Drupal\Core\Config

Code

public function encode($data) {
  return serialize($data);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.