You are here

public function ConfigEntityStorageDecorator::importRename in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::importRename()
  2. 8 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::importRename()
  3. 8.2 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::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

webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php, line 206

Class

ConfigEntityStorageDecorator
Class ConfigEntityStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

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