1. 8.2.x core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php ContentEntityStorageInterface
  2. 8.0.x core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php ContentEntityStorageInterface
  3. 8.1.x core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php ContentEntityStorageInterface
  4. 8.3.x core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php ContentEntityStorageInterface

A storage that supports content entity types.

Hierarchy

Expanded class hierarchy of ContentEntityStorageInterface

All classes that implement ContentEntityStorageInterface

File

core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php, line 8

Namespace

Drupal\Core\Entity
View source
interface ContentEntityStorageInterface extends EntityStorageInterface {

  /**
   * Constructs a new entity translation object, without permanently saving it.
   *
   * @param \Drupal\Core\Entity\ContentEntityInterface $entity
   *   The entity object being translated.
   * @param string $langcode
   *   The translation language code.
   * @param array $values
   *   (optional) An associative array of initial field values keyed by field
   *   name. If none is provided default values will be applied.
   *
   * @return \Drupal\Core\Entity\ContentEntityInterface
   *   A new entity translation object.
   */
  public function createTranslation(ContentEntityInterface $entity, $langcode, array $values = []);

}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
ContentEntityStorageInterface::createTranslation public function Constructs a new entity translation object, without permanently saving it.
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.