You are here

public function StorageInterface::rename in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/StorageInterface.php \Drupal\Core\Config\StorageInterface::rename()

Renames a configuration object in the storage.

Parameters

string $name: The name of a configuration object to rename.

string $new_name: The new name of a configuration object.

Return value

bool TRUE on success, FALSE otherwise.

5 methods override StorageInterface::rename()
CachedStorage::rename in core/lib/Drupal/Core/Config/CachedStorage.php
Renames a configuration object in the storage.
DatabaseStorage::rename in core/lib/Drupal/Core/Config/DatabaseStorage.php
Implements Drupal\Core\Config\StorageInterface::rename().
FileStorage::rename in core/lib/Drupal/Core/Config/FileStorage.php
Renames a configuration object in the storage.
NullStorage::rename in core/lib/Drupal/Core/Config/NullStorage.php
Renames a configuration object in the storage.
StorageReplaceDataWrapper::rename in core/modules/config/src/StorageReplaceDataWrapper.php
Renames a configuration object in the storage.

File

core/lib/Drupal/Core/Config/StorageInterface.php, line 96
Contains \Drupal\Core\Config\StorageInterface.

Class

StorageInterface
Defines an interface for configuration storage.

Namespace

Drupal\Core\Config

Code

public function rename($name, $new_name);