function StorageComparer::createRenameName
Same name in other branches
- 9 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::createRenameName()
- 8.9.x core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::createRenameName()
- 10 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 478
Class
- StorageComparer
- Defines a config storage comparer.
Namespace
Drupal\Core\ConfigCode
protected function createRenameName($old_name, $new_name) {
return $old_name . '::' . $new_name;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.