You are here

protected function StorageComparer::createRenameName in Drupal 9

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

Creates a rename name from the old and new names for the object.

Parameters

string $old_name: The old configuration object name.

string $new_name: The new configuration object name.

Return value

string The configuration change name that encodes both the old and the new name.

See also

\Drupal\Core\Config\StorageComparerInterface::extractRenameNames()

1 call to StorageComparer::createRenameName()
StorageComparer::addChangelistRename in core/lib/Drupal/Core/Config/StorageComparer.php
Creates the rename changelist.

File

core/lib/Drupal/Core/Config/StorageComparer.php, line 428

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

protected function createRenameName($old_name, $new_name) {
  return $old_name . '::' . $new_name;
}