StorageComparer::createRenameName

protected StorageComparer::createRenameName($name1, $name2)

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()

File

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

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

protected function createRenameName($name1, $name2) {
  return $name1 . '::' . $name2;
}
doc_Drupal
2016-10-29 09:44:38
Comments
Leave a Comment

Please login to continue.