Verified Commit d7a164eb authored by Dave Long's avatar Dave Long
Browse files

Issue #2980374 by joachim, ranjith_kumar_k_u, msankhala: Add an API docs topic...

Issue #2980374 by joachim, ranjith_kumar_k_u, msankhala: Add an API docs topic to cover entity characteristics in general and how they work

(cherry picked from commit 822dad38)
parent 72881152
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@
 * editing.
 *
 * @see \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityChangedConstraint
 *
 * @ingroup entity_type_characteristics
 */
interface EntityChangedInterface extends EntityInterface {

+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@

/**
 * Provides an interface for access to an entity's published state.
 *
 * @ingroup entity_type_characteristics
 */
interface EntityPublishedInterface extends EntityInterface {

+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@

/**
 * Defines methods for an entity that supports revision logging and ownership.
 *
 * @ingroup entity_type_characteristics
 */
interface RevisionLogInterface extends RevisionableInterface {

+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,8 @@
 * @see \Drupal\Core\Entity\EntityTypeInterface::isRevisionable()
 * @see https://www.drupal.org/docs/8/api/entity-api/structure-of-an-entity-annotation
 * @see https://www.drupal.org/docs/8/api/entity-api/making-an-entity-revisionable
 *
 * @ingroup entity_type_characteristics
 */
interface RevisionableInterface extends EntityInterface {

+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@

/**
 * Provides methods for an entity to support translation.
 *
 * @ingroup entity_type_characteristics
 */
interface TranslatableInterface extends TranslatableDataInterface, EntityInterface {

Loading