function StorageComparerInterface::extractRenameNames

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/StorageComparerInterface.php \Drupal\Core\Config\StorageComparerInterface::extractRenameNames()
  2. 10 core/lib/Drupal/Core/Config/StorageComparerInterface.php \Drupal\Core\Config\StorageComparerInterface::extractRenameNames()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.