function InstallStorage::write

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

Overrides Drupal\Core\Config\FileStorage::write().

Throws

\Drupal\Core\Config\StorageException

Overrides FileStorage::write

File

core/lib/Drupal/Core/Config/InstallStorage.php, line 103

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

public function write($name, array $data) {
    throw new StorageException('Write operation is not allowed.');
}

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