public DatabaseStorage::decode($raw)
Implements Drupal\Core\Config\StorageInterface::decode().
Throws
ErrorException The unserialize() call will trigger E_NOTICE if the string cannot be unserialized.
Overrides StorageInterface::decode
File
- core/lib/Drupal/Core/Config/DatabaseStorage.php, line 258
Class
- DatabaseStorage
- Defines the Database storage.
Namespace
Drupal\Core\Config
Code
public function decode($raw) { $data = @unserialize($raw); return is_array($data) ? $data : FALSE; }
Please login to continue.