W3cubDocs

/Drupal 8

public function InstallStorage::rename

public InstallStorage::rename($name, $new_name)

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

Throws

\Drupal\Core\Config\StorageException

Overrides FileStorage::rename

File

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

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

© 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::rename/8.1.x