public function ConfigReadonlyStorage::rename in Configuration Read-only mode 8
Same name and namespace in other branches
- 7 lib/Drupal/config_readonly/Config/ConfigReadonlyStorage.php \Drupal\config_readonly\Config\ConfigReadonlyStorage::rename()
Throws
\Drupal\config_readonly\Exception\ConfigReadonlyStorageException
Overrides CachedStorage::rename
File
- src/
Config/ ConfigReadonlyStorage.php, line 99
Class
- ConfigReadonlyStorage
- Defines a config read-only storage controller.
Namespace
Drupal\config_readonly\ConfigCode
public function rename($name, $new_name) {
$this
->checkLock($name);
$this
->checkLock($new_name);
return parent::rename($name, $new_name);
}