
| Current Path : /var/www/html/ift/web/core/lib/Drupal/Core/Entity/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/web/core/lib/Drupal/Core/Entity/ContentEntityInterface.php |
<?php
namespace Drupal\Core\Entity;
/**
* Defines a common interface for all content entity objects.
*
* Content entities use fields for all their entity properties and can be
* translatable and revisionable. Translations and revisions can be
* enabled per entity type through annotation and using entity type hooks.
*
* It's best practice to always implement ContentEntityInterface for
* content-like entities that should be stored in some database, and
* enable/disable revisions and translations as desired.
*
* When implementing this interface which extends Traversable, make sure to list
* IteratorAggregate or Iterator before this interface in the implements clause.
*
* @see \Drupal\Core\Entity\ContentEntityBase
* @see \Drupal\Core\Entity\EntityTypeInterface
*
* @ingroup entity_api
*/
interface ContentEntityInterface extends \Traversable, FieldableEntityInterface, TranslatableRevisionableInterface, SynchronizableInterface {
}