You are here

protected function StorageComparer::createRenameName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 441
Contains \Drupal\Core\Config\StorageComparer.

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

protected function createRenameName($name1, $name2) {
  return $name1 . '::' . $name2;
}