You are here

public function StorageComparerInterface::extractRenameNames in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/StorageComparerInterface.php \Drupal\Core\Config\StorageComparerInterface::extractRenameNames()

Extracts old and new configuration names from a configuration change name.

Parameters

string $name: The configuration change name, as provided by ConfigImporter::createRenameName().

Return value

array An associative array of configuration names. The array keys are 'old_name' and 'new_name' representing the old and new configuration object names during a rename operation.

See also

\Drupal\Core\Config\StorageComparer::createRenameNames()

1 method overrides StorageComparerInterface::extractRenameNames()
StorageComparer::extractRenameNames in core/lib/Drupal/Core/Config/StorageComparer.php
Extracts old and new configuration names from a configuration change name.

File

core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 112

Class

StorageComparerInterface
Defines an interface for comparison of configuration storage objects.

Namespace

Drupal\Core\Config

Code

public function extractRenameNames($name);