You are here

public function ConfigEntityStorage::importRename in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php \Drupal\Core\Config\Entity\ConfigEntityStorage::importRename()

Renames entities upon synchronizing configuration changes.

Parameters

string $old_name: The original name of the configuration object.

\Drupal\Core\Config\Config $new_config: A configuration object containing the new configuration data.

\Drupal\Core\Config\Config $old_config: A configuration object containing the old configuration data.

Overrides ImportableEntityStorageInterface::importRename

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 425
Contains \Drupal\Core\Config\Entity\ConfigEntityStorage.

Class

ConfigEntityStorage
Defines the storage class for configuration entities.

Namespace

Drupal\Core\Config\Entity

Code

public function importRename($old_name, Config $new_config, Config $old_config) {
  return $this
    ->importUpdate($old_name, $new_config, $old_config);
}