function InstallStorage::rename

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::rename()
  2. 10 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::rename()
  3. 11.x core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::rename()

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

Throws

\Drupal\Core\Config\StorageException

Overrides FileStorage::rename

File

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

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

public function rename($name, $new_name) {
    throw new StorageException('Rename operation is not allowed.');
}

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