function CheckpointStorage::write
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php \Drupal\Core\Config\Checkpoint\CheckpointStorage::write()
Writes configuration data to the storage.
Parameters
string $name: The name of a configuration object to save.
array $data: The configuration data to write.
Return value
bool TRUE on success, FALSE in case of an error.
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\CheckpointCode
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.