You are here

public function ConfigFactoryInterface::rename in Drupal 9

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

Renames a configuration object using the storage.

Parameters

string $old_name: The old name of the configuration object.

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

Return value

$this

1 method overrides ConfigFactoryInterface::rename()
ConfigFactory::rename in core/lib/Drupal/Core/Config/ConfigFactory.php
Renames a configuration object using the storage.

File

core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 74

Class

ConfigFactoryInterface
Defines the interface for a configuration object factory.

Namespace

Drupal\Core\Config

Code

public function rename($old_name, $new_name);