You are here

public function StorageComparer::extractRenameNames in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::extractRenameNames()
  2. 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\Config

Code

public function extractRenameNames($name) {
  $names = explode('::', $name, 2);
  return [
    'old_name' => $names[0],
    'new_name' => $names[1],
  ];
}