Search for storage

  1. Search 7.x for storage
  2. Search 8.9.x for storage
  3. Search 10.3.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
EntityStorageBase::$entityTypeId property core/lib/Drupal/Core/Entity/EntityStorageBase.php Entity type ID for this storage.
EntityStorageBase::$idKey property core/lib/Drupal/Core/Entity/EntityStorageBase.php Name of the entity's ID field in the entity database table.
EntityStorageBase::$langcodeKey property core/lib/Drupal/Core/Entity/EntityStorageBase.php The name of the entity langcode property.
EntityStorageBase::$memoryCache property core/lib/Drupal/Core/Entity/EntityStorageBase.php The memory cache.
EntityStorageBase::$memoryCacheTag property core/lib/Drupal/Core/Entity/EntityStorageBase.php The memory cache tag.
EntityStorageBase::$uuidKey property core/lib/Drupal/Core/Entity/EntityStorageBase.php Name of entity's UUID database table field, if it supports UUIDs.
EntityStorageBase::$uuidService property core/lib/Drupal/Core/Entity/EntityStorageBase.php The UUID service.
EntityStorageBase::buildCacheId function core/lib/Drupal/Core/Entity/EntityStorageBase.php Builds the cache ID for the passed in entity ID.
EntityStorageBase::buildPropertyQuery function core/lib/Drupal/Core/Entity/EntityStorageBase.php Builds an entity query.
EntityStorageBase::create function core/lib/Drupal/Core/Entity/EntityStorageBase.php Constructs a new entity object, without permanently saving it.
EntityStorageBase::delete function core/lib/Drupal/Core/Entity/EntityStorageBase.php Deletes permanently saved entities.
EntityStorageBase::doCreate function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs storage-specific creation of entities.
EntityStorageBase::doDelete function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs storage-specific entity deletion.
EntityStorageBase::doLoadMultiple function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs storage-specific loading of entities.
EntityStorageBase::doPostSave function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs post save entity processing.
EntityStorageBase::doPreSave function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs presave entity processing.
EntityStorageBase::doSave function core/lib/Drupal/Core/Entity/EntityStorageBase.php Performs storage-specific saving of the entity.
EntityStorageBase::getAggregateQuery function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets an aggregated query instance.
EntityStorageBase::getEntitiesByClass function core/lib/Drupal/Core/Entity/EntityStorageBase.php Indexes the given array of entities by their class name and ID.
EntityStorageBase::getEntityClass function core/lib/Drupal/Core/Entity/EntityStorageBase.php Retrieves the class name used to create the entity.
EntityStorageBase::getEntityType function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets the entity type definition.
EntityStorageBase::getEntityTypeId function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets the entity type ID.
EntityStorageBase::getFromStaticCache function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets entities from the static cache.
EntityStorageBase::getQuery function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets an entity query instance.
EntityStorageBase::getQueryServiceName function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gets the name of the service for the query for this entity storage.
EntityStorageBase::has function core/lib/Drupal/Core/Entity/EntityStorageBase.php Determines if this entity already exists in storage.
EntityStorageBase::hasData function core/lib/Drupal/Core/Entity/EntityStorageBase.php Determines if the storage contains any data.
EntityStorageBase::invokeHook function core/lib/Drupal/Core/Entity/EntityStorageBase.php Invokes a hook on behalf of the entity.
EntityStorageBase::load function core/lib/Drupal/Core/Entity/EntityStorageBase.php Loads one entity.
EntityStorageBase::loadByProperties function core/lib/Drupal/Core/Entity/EntityStorageBase.php Load entities by their property values without any access checks.
EntityStorageBase::loadMultiple function core/lib/Drupal/Core/Entity/EntityStorageBase.php Loads one or more entities.
EntityStorageBase::loadUnchanged function core/lib/Drupal/Core/Entity/EntityStorageBase.php Loads an unchanged entity from the database.
EntityStorageBase::mapFromStorageRecords function core/lib/Drupal/Core/Entity/EntityStorageBase.php Maps from storage records to entity objects.
EntityStorageBase::postLoad function core/lib/Drupal/Core/Entity/EntityStorageBase.php Attaches data to entities upon loading.
EntityStorageBase::preLoad function core/lib/Drupal/Core/Entity/EntityStorageBase.php Gathers entities from a 'preload' step.
EntityStorageBase::resetCache function core/lib/Drupal/Core/Entity/EntityStorageBase.php Resets the internal entity cache.
EntityStorageBase::restore function core/lib/Drupal/Core/Entity/EntityStorageBase.php Restores a previously saved entity.
EntityStorageBase::save function core/lib/Drupal/Core/Entity/EntityStorageBase.php Saves the entity permanently.
EntityStorageBase::setStaticCache function core/lib/Drupal/Core/Entity/EntityStorageBase.php Stores entities in the static entity cache.
EntityStorageBase::__construct function core/lib/Drupal/Core/Entity/EntityStorageBase.php Constructs an EntityStorageBase instance.
EntityStorageBase::__get function core/lib/Drupal/Core/Entity/EntityStorageBase.php Warns subclasses not to directly access the deprecated entityClass property.
EntityStorageBase::__set function core/lib/Drupal/Core/Entity/EntityStorageBase.php Warns subclasses not to directly set the deprecated entityClass property.
EntityStorageBaseTest class core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php @coversDefaultClass \Drupal\Core\Entity\EntityStorageBase
@group Entity
EntityStorageBaseTest.php file core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php
EntityStorageBaseTest::generateEntityInterface function core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php Generate a mocked entity object.
EntityStorageBaseTest::providerLoad function core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php Data provider for testLoad().
EntityStorageBaseTest::providerLoadMultiple function core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php Data provider for testLoadMultiple.
EntityStorageBaseTest::testLoad function core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php @covers ::load
EntityStorageBaseTest::testLoadMultiple function core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php Test loadMultiple().
EntityStorageDeprecationTest class core/tests/Drupal/Tests/Core/Entity/EntityStorageDeprecationTest.php @coversDefaultClass \Drupal\Core\Entity\EntityStorageBase
@group Entity
@group legacy

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