function ImportableEntityStorageInterface::importCreate

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php \Drupal\Core\Config\Entity\ImportableEntityStorageInterface::importCreate()
  2. 8.9.x core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php \Drupal\Core\Config\Entity\ImportableEntityStorageInterface::importCreate()
  3. 10 core/lib/Drupal/Core/Config/Entity/ImportableEntityStorageInterface.php \Drupal\Core\Config\Entity\ImportableEntityStorageInterface::importCreate()

Creates 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.

1 method overrides ImportableEntityStorageInterface::importCreate()
ConfigEntityStorage::importCreate in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Creates entities upon synchronizing configuration changes.

File

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

Class

ImportableEntityStorageInterface
Provides an interface for responding to configuration imports.

Namespace

Drupal\Core\Config\Entity

Code

public function importCreate($name, Config $new_config, Config $old_config);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.