interface ContentEntityStorageInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityStorageInterface.php \Drupal\Core\Entity\ContentEntityStorageInterface
A storage that supports content entity types.
Hierarchy
- interface \Drupal\Core\Entity\EntityStorageInterface- interface \Drupal\Core\Entity\ContentEntityStorageInterface
 
Expanded class hierarchy of ContentEntityStorageInterface
All classes that implement ContentEntityStorageInterface
8 files declare their use of ContentEntityStorageInterface
- CommentStorageInterface.php in core/modules/ comment/ src/ CommentStorageInterface.php 
- Contains \Drupal\comment\CommentStorageInterface.
- FeedStorageInterface.php in core/modules/ aggregator/ src/ FeedStorageInterface.php 
- Contains \Drupal\aggregator\FeedStorageInterface.
- FileStorageInterface.php in core/modules/ file/ src/ FileStorageInterface.php 
- Contains \Drupal\file\FileStorageInterface.
- ItemStorageInterface.php in core/modules/ aggregator/ src/ ItemStorageInterface.php 
- Contains \Drupal\aggregator\ItemStorageInterface.
- KeyValueContentEntityStorage.php in core/lib/ Drupal/ Core/ Entity/ KeyValueStore/ KeyValueContentEntityStorage.php 
- Contains \Drupal\Core\Entity\KeyValueStore\KeyValueContentEntityStorage.
File
- core/lib/ Drupal/ Core/ Entity/ ContentEntityStorageInterface.php, line 13 
- Contains \Drupal\Core\Entity\ContentEntityStorageInterface.
Namespace
Drupal\Core\EntityView 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
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| ContentEntityStorageInterface:: | public | function | Constructs a new entity translation object, without permanently saving it. | 2 | 
| 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. | 3 | 
| 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 | 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. | 3 | 
| EntityStorageInterface:: | public | function | Loads an unchanged entity from the database. | 1 | 
| EntityStorageInterface:: | public | function | Resets the internal, static entity cache. | 1 | 
| EntityStorageInterface:: | public | function | Saves the entity permanently. | 1 | 
