W3cubDocs

/Drupal 8

interface SqlEntityStorageInterface

A common interface for SQL-based entity storage implementations.

Hierarchy

File

core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php, line 10

Namespace

Drupal\Core\Entity\Sql

Members

Name Modifiers Type Description
EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it.
EntityStorageInterface::delete public function Deletes permanently saved entities.
EntityStorageInterface::deleteRevision public function Delete a specific entity revision.
EntityStorageInterface::FIELD_LOAD_CURRENT constant Load the most recent version of an entity's field data. Overrides EntityStorageInterface::FIELD_LOAD_CURRENT
EntityStorageInterface::FIELD_LOAD_REVISION constant Load the version of an entity's field data specified in the entity. Overrides EntityStorageInterface::FIELD_LOAD_REVISION
EntityStorageInterface::getAggregateQuery public function Gets an aggregated query instance.
EntityStorageInterface::getEntityType public function Gets the entity type definition.
EntityStorageInterface::getEntityTypeId public function Gets the entity type ID.
EntityStorageInterface::getQuery public function Gets an entity query instance.
EntityStorageInterface::load public function Loads one entity.
EntityStorageInterface::loadByProperties public function Load entities by their property values.
EntityStorageInterface::loadMultiple public function Loads one or more entities.
EntityStorageInterface::loadRevision public function Load a specific entity revision.
EntityStorageInterface::loadUnchanged public function Loads an unchanged entity from the database.
EntityStorageInterface::resetCache public function Resets the internal, static entity cache.
EntityStorageInterface::save public function Saves the entity permanently.
SqlEntityStorageInterface::getTableMapping public function Gets a table mapping for the entity's SQL tables.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!SqlEntityStorageInterface.php/interface/SqlEntityStorageInterface/8.1.x