function StorageComparer::extractRenameNames
Same name in other branches
- 9 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::extractRenameNames()
- 10 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::extractRenameNames()
- 11.x core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::extractRenameNames()
Overrides StorageComparerInterface::extractRenameNames
1 call to StorageComparer::extractRenameNames()
- StorageComparer::moveRenameToUpdate in core/
lib/ Drupal/ Core/ Config/ StorageComparer.php - Moves a rename operation to an update.
File
-
core/
lib/ Drupal/ Core/ Config/ StorageComparer.php, line 441
Class
- StorageComparer
- Defines a config storage comparer.
Namespace
Drupal\Core\ConfigCode
public function extractRenameNames($name) {
$names = explode('::', $name, 2);
return [
'old_name' => $names[0],
'new_name' => $names[1],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.