Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Entity / ContentEntityInterface.php
1 <?php
2
3 namespace Drupal\Core\Entity;
4
5 /**
6  * Defines a common interface for all content entity objects.
7  *
8  * Content entities use fields for all their entity properties and can be
9  * translatable and revisionable. Translations and revisions can be
10  * enabled per entity type through annotation and using entity type hooks.
11  *
12  * It's best practice to always implement ContentEntityInterface for
13  * content-like entities that should be stored in some database, and
14  * enable/disable revisions and translations as desired.
15  *
16  * When implementing this interface which extends Traversable, make sure to list
17  * IteratorAggregate or Iterator before this interface in the implements clause.
18  *
19  * @see \Drupal\Core\Entity\ContentEntityBase
20  * @see \Drupal\Core\Entity\EntityTypeInterface
21  *
22  * @ingroup entity_api
23  */
24 interface ContentEntityInterface extends \Traversable, FieldableEntityInterface, TranslatableRevisionableInterface {
25
26 }