function CheckpointStorage::write

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php \Drupal\Core\Config\Checkpoint\CheckpointStorage::write()

Overrides StorageInterface::write

File

core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php, line 469

Class

CheckpointStorage
Provides a config storage that can make checkpoints.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function write($name, array $data) : never {
    throw new \BadMethodCallException(__METHOD__ . ' is not allowed on a CheckpointStorage');
}

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