ContentEntityStorageBase::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 28 Class ContentEntityStorageBase Base class for content entity storage handlers. Namespace Drupal\Core\Entity Code protected $entityManager;

ContentEntityStorageBase::$cacheBackend

Cache backend. Type: \Drupal\Core\Cache\CacheBackendInterface File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 35 Class ContentEntityStorageBase Base class for content entity storage handlers. Namespace Drupal\Core\Entity Code protected $cacheBackend;

ContentEntityStorageBase::$bundleKey

The entity bundle key. Type: string|bool File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 21 Class ContentEntityStorageBase Base class for content entity storage handlers. Namespace Drupal\Core\Entity Code protected $bundleKey = FALSE;

ContentEntityStorageBase

Base class for content entity storage handlers. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityStorageBase implements ContentEntityStorageInterface, DynamicallyFieldableEntityStorageInterface File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 14 Namespace Drupal\Core\E

ContentEntityNullStorage::save

public ContentEntityNullStorage::save(EntityInterface $entity) Saves the entity permanently. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity to save. Return value SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed. Throws \Drupal\Core\Entity\EntityStorageException In case of failures, an exception is thrown. Overrides EntityStorageBase::save File core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 69 Class ContentEntityNullStorage D

ContentEntityNullStorage::readFieldItemsToPurge

protected ContentEntityNullStorage::readFieldItemsToPurge(FieldDefinitionInterface $field_definition, $batch_size) Reads values to be purged for a single field. This method is called during field data purge, on fields for which onFieldDefinitionDelete() has previously run. Parameters \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. $batch_size: The maximum number of field data records to purge before returning. Return value \Drupal\Core\Field\FieldItemListI

ContentEntityNullStorage::purgeFieldItems

protected ContentEntityNullStorage::purgeFieldItems(ContentEntityInterface $entity, FieldDefinitionInterface $field_definition) Removes field items from storage per entity during purge. Parameters ContentEntityInterface $entity: The entity revision, whose values are being purged. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field whose values are bing purged. Overrides ContentEntityStorageBase::purgeFieldItems File core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php,

ContentEntityNullStorage::loadRevision

public ContentEntityNullStorage::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 ContentEntityStorageBase::loadRevision File core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 37 Class ContentEntityNullStorage Defines a null entity storage. Namespace Drupal\Core\Entity Code public function load

ContentEntityNullStorage::loadMultiple

public ContentEntityNullStorage::loadMultiple(array $ids = NULL) Loads one or more entities. 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 EntityStorageBase::loadMultiple File core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 17 Class ContentEntityNullStorage Defines a null entity stor

ContentEntityNullStorage::loadByProperties

public ContentEntityNullStorage::loadByProperties(array $values = array()) Load entities by their property values. Parameters array $values: An associative array where the keys are the property names and the values are the values those properties must have. Return value \Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their ids. Overrides EntityStorageBase::loadByProperties File core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 50 Class ContentEntit