W3cubDocs

/Drupal 8

public function StorageComparerInterface::extractRenameNames

public StorageComparerInterface::extractRenameNames($name)

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()

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!StorageComparerInterface.php/function/StorageComparerInterface::extractRenameNames/8.1.x