function CheckpointStorage::rename

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

Overrides StorageInterface::rename

File

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

Class

CheckpointStorage
Provides a config storage that can make checkpoints.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function rename($name, $new_name) : 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.