Commit 9c4db60d authored by jhodgdon's avatar jhodgdon

Issue #2288507 by er.pushpinderrana: Add documentation to entity type...

Issue #2288507 by er.pushpinderrana: Add documentation to entity type annotation classes to aid developers of entity types
parent 4809d4d9
......@@ -10,6 +10,14 @@
/**
* Defines a config entity type annotation object.
*
* Config Entity type plugins use an object-based annotation method, rather than an
* array-type annotation method (as commonly used on other annotation types).
* The annotation properties of entity types are found on
* \Drupal\Core\Entity\ConfigEntityType and are accessed using
* get/set methods defined in \Drupal\Core\Entity\EntityTypeInterface.
*
* @ingroup entity_api
*
* @Annotation
*/
class ConfigEntityType extends EntityType {
......
......@@ -10,6 +10,14 @@
/**
* Defines a content entity type annotation object.
*
* Content Entity type plugins use an object-based annotation method, rather than an
* array-type annotation method (as commonly used on other annotation types).
* The annotation properties of content entity types are found on
* \Drupal\Core\Entity\ContentEntityType and are accessed using
* get/set methods defined in \Drupal\Core\Entity\ContentEntityTypeInterface.
*
* @ingroup entity_api
*
* @Annotation
*/
class ContentEntityType extends EntityType {
......
......@@ -19,7 +19,7 @@
* \Drupal\Core\Entity\EntityType and are accessed using get/set methods defined
* in \Drupal\Core\Entity\EntityTypeInterface.
*
* @see \Drupal\Core\Entity\Annotation\EntityType
* @ingroup entity_api
*
* @Annotation
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment