function ConfigFactoryInterface::rename

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::rename()
  2. 10 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::rename()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.