public function StorageComparer::extractRenameNames in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::extractRenameNames()
- 9 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::extractRenameNames()
File
- core/
lib/ Drupal/ Core/ Config/ StorageComparer.php, line 435
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],
];
}