public function ConfigFactoryInterface::rename in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::rename()
- 9 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
File
- core/
lib/ Drupal/ Core/ Config/ ConfigFactoryInterface.php, line 74
Class
- ConfigFactoryInterface
- Defines the interface for a configuration object factory.
Namespace
Drupal\Core\ConfigCode
public function rename($old_name, $new_name);