interface ContentEntityStorageInterface in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Storage/ContentEntityStorageInterface.php \Drupal\multiversion\Entity\Storage\ContentEntityStorageInterface
Hierarchy
- interface \Drupal\Core\Entity\EntityStorageInterface- interface \Drupal\multiversion\Entity\Storage\ContentEntityStorageInterface
 
Expanded class hierarchy of ContentEntityStorageInterface
All classes that implement ContentEntityStorageInterface
19 files declare their use of ContentEntityStorageInterface
- AliasStorage.php in src/AliasStorage.php 
- CommentStatistics.php in src/CommentStatistics.php 
- CommentStorage.php in src/Entity/ Storage/ Sql/ CommentStorage.php 
- ContentEntityStorage.php in src/Entity/ Storage/ Sql/ ContentEntityStorage.php 
- CropStorage.php in src/Entity/ Storage/ Sql/ CropStorage.php 
File
- src/Entity/ Storage/ ContentEntityStorageInterface.php, line 8 
Namespace
Drupal\multiversion\Entity\StorageView source
interface ContentEntityStorageInterface extends EntityStorageInterface {
  /**
   * What workspace to query.
   *
   * @param integer $id
   * @return \Drupal\multiversion\Entity\Storage\ContentEntityStorageInterface
   */
  public function useWorkspace($id);
  /**
   * @param integer $id
   * @return \Drupal\Core\Entity\ContentEntityInterface|null
   */
  public function loadDeleted($id);
  /**
   * @param array $ids
   * @return \Drupal\Core\Entity\ContentEntityInterface[]
   */
  public function loadMultipleDeleted(array $ids = NULL);
  /**
   * @param array $entities
   */
  public function purge(array $entities);
  /**
   * Truncate all related tables to entity type.
   *
   * This function should be called to avoid calling pre-delete/delete hooks.
   */
  public function truncate();
  /**
   * Save the given entity without forcing a new revision.
   *
   * @param \Drupal\Core\Entity\EntityInterface $entity
   *   Entity that should be saved.
   *
   * @return
   *   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.
   */
  public function saveWithoutForcingNewRevision(EntityInterface $entity);
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| ContentEntityStorageInterface:: | public | function | ||
| ContentEntityStorageInterface:: | public | function | ||
| ContentEntityStorageInterface:: | public | function | ||
| ContentEntityStorageInterface:: | public | function | Save the given entity without forcing a new revision. | |
| ContentEntityStorageInterface:: | public | function | Truncate all related tables to entity type. | 1 | 
| ContentEntityStorageInterface:: | public | function | What workspace to query. | |
| EntityStorageInterface:: | public | function | Constructs a new entity object, without permanently saving it. | 1 | 
| EntityStorageInterface:: | public | function | Deletes permanently saved entities. | 1 | 
| EntityStorageInterface:: | public | function | Delete a specific entity revision. | 4 | 
| EntityStorageInterface:: | constant | Load the most recent version of an entity's field data. | ||
| EntityStorageInterface:: | constant | Load the version of an entity's field data specified in the entity. | ||
| EntityStorageInterface:: | public | function | Gets an aggregated query instance. | 1 | 
| EntityStorageInterface:: | public | function | Gets the entity type definition. | 1 | 
| EntityStorageInterface:: | public | function | Gets the entity type ID. | 1 | 
| EntityStorageInterface:: | public | function | Gets an entity query instance. | 1 | 
| EntityStorageInterface:: | public | function | Determines if the storage contains any data. | 1 | 
| EntityStorageInterface:: | public | function | Loads one entity. | 1 | 
| EntityStorageInterface:: | public | function | Load entities by their property values. | 1 | 
| EntityStorageInterface:: | public | function | Loads one or more entities. | 1 | 
| EntityStorageInterface:: | public | function | Load a specific entity revision. | 4 | 
| EntityStorageInterface:: | public | function | Loads an unchanged entity from the database. | 1 | 
| EntityStorageInterface:: | public | function | Resets the internal, static entity cache. | 1 | 
| EntityStorageInterface:: | public | function | Restores a previously saved entity. | 1 | 
| EntityStorageInterface:: | public | function | Saves the entity permanently. | 1 | 
