public function InstallStorage::write

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

Throws

Drupal\Core\Config\StorageException

Overrides FileStorage::write

File

drupal/core/lib/Drupal/Core/Config/InstallStorage.php, line 65
Contains Drupal\Core\Config\InstallStorage.

Class

InstallStorage
Storage controller used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

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