ConfigEntityStorage::importDelete

public ConfigEntityStorage::importDelete($name, Config $new_config, Config $old_config) Delete 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. Overrides ImportableEntityStorageInterface::importDelete File core/lib/Drupal/Core/Co

ConfigEntityStorage::importCreate

public ConfigEntityStorage::importCreate($name, Config $new_config, Config $old_config) 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. Overrides ImportableEntityStorageInterface::importCreate File core/lib/Drupal/Core/C

ConfigEntityStorage::has

protected ConfigEntityStorage::has($id, EntityInterface $entity) Determines if this entity already exists in storage. Parameters int|string $id: The original entity ID. \Drupal\Core\Entity\EntityInterface $entity: The entity being saved. Return value bool Overrides EntityStorageBase::has File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 313 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code prot

ConfigEntityStorage::getQueryServiceName

protected ConfigEntityStorage::getQueryServiceName() Gets the name of the service for the query for this entity storage. Return value string The name of the service for the query for this entity storage. Overrides EntityStorageBase::getQueryServiceName File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 377 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected function getQueryServiceName()

ConfigEntityStorage::getPrefix

protected ConfigEntityStorage::getPrefix() Returns the prefix used to create the configuration name. The prefix consists of the config prefix from the entity type plus a dot for separating from the ID. Return value string The full configuration prefix, for example 'views.view.'. File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 151 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected func

ConfigEntityStorage::getIDFromConfigName

public static ConfigEntityStorage::getIDFromConfigName($config_name, $config_prefix) Extracts the configuration entity ID from the full configuration name. Parameters string $config_name: The full configuration name to extract the ID from; for example, 'views.view.archive'. string $config_prefix: The config prefix of the configuration entity; for example, 'views.view'. Return value string The ID of the configuration entity. Overrides ConfigEntityStorageInterface::getIDFromConfigName File core

ConfigEntityStorage::getFromStaticCache

protected ConfigEntityStorage::getFromStaticCache(array $ids) Gets entities from the static cache. Parameters array $ids: If not empty, return entities that match these IDs. Return value \Drupal\Core\Entity\EntityInterface[] Array of entities from the entity cache. Overrides EntityStorageBase::getFromStaticCache File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 328 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core

ConfigEntityStorage::doSave

protected ConfigEntityStorage::doSave($id, EntityInterface $entity) Performs storage-specific saving of the entity. Parameters int|string $id: The original entity ID. \Drupal\Core\Entity\EntityInterface $entity: The entity to save. Return value bool|int If the record insert or update failed, returns FALSE. If it succeeded, returns SAVED_NEW or SAVED_UPDATED, depending on the operation performed. Overrides EntityStorageBase::doSave File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.ph

ConfigEntityStorage::doLoadMultiple

protected ConfigEntityStorage::doLoadMultiple(array $ids = NULL) Performs storage-specific loading of entities. Override this method to add custom functionality directly after loading. This is always called, while self::postLoad() is only called when there are actual results. Parameters array|null $ids: (optional) An array of entity IDs, or NULL to load all entities. Return value \Drupal\Core\Entity\EntityInterface[] Associative array of entities, keyed on the entity ID. Overrides EntityStora

ConfigEntityStorage::doDelete

protected ConfigEntityStorage::doDelete($entities) Performs storage-specific entity deletion. Parameters \Drupal\Core\Entity\EntityInterface[] $entities: An array of entity objects to delete. Overrides EntityStorageBase::doDelete File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 232 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected function doDelete($entities) { foreach ($entities as