ConfigEntityStorage::setStaticCache

protected ConfigEntityStorage::setStaticCache(array $entities) Stores entities in the static entity cache. Parameters \Drupal\Core\Entity\EntityInterface[] $entities: Entities to store in the cache. Overrides EntityStorageBase::setStaticCache File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 350 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected function setStaticCache(array $entities)

ConfigEntityStorage::save

public ConfigEntityStorage::save(EntityInterface $entity) Implements Drupal\Core\Entity\EntityStorageInterface::save(). Throws EntityMalformedException When attempting to save a configuration entity that has no ID. Overrides EntityStorageBase::save File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 244 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code public function save(EntityInterface $entity)

ConfigEntityStorage::MAX_ID_LENGTH

Length limit of the configuration entity ID. Most file systems limit a file name's length to 255 characters, so ConfigBase::MAX_NAME_LENGTH restricts the full configuration object name to 250 characters (leaving 5 for the file extension). The config prefix is limited by ConfigEntityType::PREFIX_LENGTH to 83 characters, so this leaves 166 remaining characters for the configuration entity ID, with 1 additional character needed for the joining dot. See also \Drupal\Core\Config\ConfigBase::MAX_NAM

ConfigEntityStorage::mapToStorageRecord

protected ConfigEntityStorage::mapToStorageRecord(EntityInterface $entity) Maps from an entity object to the storage record. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity object. Return value array The record to store. File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 306 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected function mapToStorageRecord(EntityInterface

ConfigEntityStorage::loadRevision

public ConfigEntityStorage::loadRevision($revision_id) Load a specific entity revision. Parameters int|string $revision_id: The revision id. Return value \Drupal\Core\Entity\EntityInterface|null The specified entity revision or NULL if not found. Overrides EntityStorageInterface::loadRevision File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 131 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code

ConfigEntityStorage::loadOverrideFree

public ConfigEntityStorage::loadOverrideFree($id) Loads one entity in their original form without overrides. Parameters mixed $id: The ID of the entity to load. Return value \Drupal\Core\Entity\EntityInterface|null An entity object. NULL if no matching entity is found. Overrides ConfigEntityStorageInterface::loadOverrideFree File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 486 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace

ConfigEntityStorage::loadMultipleOverrideFree

public ConfigEntityStorage::loadMultipleOverrideFree(array $ids = NULL) Loads one or more entities in their original form without overrides. Parameters $ids: An array of entity IDs, or NULL to load all entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their IDs. Returns an empty array if no matching entities are found. Overrides ConfigEntityStorageInterface::loadMultipleOverrideFree File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.ph

ConfigEntityStorage::invokeHook

protected ConfigEntityStorage::invokeHook($hook, EntityInterface $entity) Invokes a hook on behalf of the entity. Parameters $hook: One of 'presave', 'insert', 'update', 'predelete', or 'delete'. $entity: The entity object. Overrides EntityStorageBase::invokeHook File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 367 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected function invokeHook(

ConfigEntityStorage::importUpdate

public ConfigEntityStorage::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 th

ConfigEntityStorage::importRename

public ConfigEntityStorage::importRename($old_name, Config $new_config, Config $old_config) 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 core/