You are here

public function ReadOnlyStorage::rename in Config Filter 8

Same name and namespace in other branches
  1. 8.2 src/Config/ReadOnlyStorage.php \Drupal\config_filter\Config\ReadOnlyStorage::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.

Overrides StorageInterface::rename

1 method overrides ReadOnlyStorage::rename()
GhostStorage::rename in src/Config/GhostStorage.php
Renames a configuration object in the storage.

File

src/Config/ReadOnlyStorage.php, line 72

Class

ReadOnlyStorage
Class ReadOnlyStorage.

Namespace

Drupal\config_filter\Config

Code

public function rename($name, $new_name) {
  throw new UnsupportedMethod(__METHOD__ . ' is not allowed on a ReadOnlyStorage');
}