W3cubDocs

/Drupal 8

public function InstallStorage::write

public InstallStorage::write($name, array $data)

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

Throws

\Drupal\Core\Config\StorageException

Overrides FileStorage::write

File

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

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.');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!InstallStorage.php/function/InstallStorage::write/8.1.x