public function ConfigEntityStorageDecorator::importUpdate in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::importUpdate()
- 8.2 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::importUpdate()
- 4.x webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::importUpdate()
Updates entities upon synchronizing configuration changes.
Parameters
string $name: The 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.
Throws
\Drupal\Core\Config\ConfigImporterException Thrown when the config entity that should be updated can not be found.
Overrides ImportableEntityStorageInterface::importUpdate
File
- webprofiler/
src/ Entity/ Decorators/ Config/ ConfigEntityStorageDecorator.php, line 192
Class
- ConfigEntityStorageDecorator
- Class ConfigEntityStorageDecorator
Namespace
Drupal\webprofiler\Entity\Decorators\ConfigCode
public function importUpdate($name, Config $new_config, Config $old_config) {
$this
->getOriginalObject()
->importUpdate($name, $new_config, $old_config);
}