ImportableEntityStorageInterface::importUpdate

public ImportableEntityStorageInterface::importUpdate($name, Config $new_config, Config $old_config)

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.

File

core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php, line 40

Class

ImportableEntityStorageInterface
Provides an interface for responding to configuration imports.

Namespace

Drupal\Core\Config\Entity

Code

public function importUpdate($name, Config $new_config, Config $old_config);
doc_Drupal
2016-10-29 09:20:26
Comments
Leave a Comment

Please login to continue.