function NullStorage::write

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/NullStorage.php \Drupal\Core\Config\NullStorage::write()
  2. 10 core/lib/Drupal/Core/Config/NullStorage.php \Drupal\Core\Config\NullStorage::write()
  3. 11.x core/lib/Drupal/Core/Config/NullStorage.php \Drupal\Core\Config\NullStorage::write()

Overrides StorageInterface::write

File

core/lib/Drupal/Core/Config/NullStorage.php, line 63

Class

NullStorage
Defines a stub storage.

Namespace

Drupal\Core\Config

Code

public function write($name, array $data) {
    return FALSE;
}

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