EntityType annotation properties are missing documentation

Created on 19 May 2015, almost 10 years ago
Updated 12 February 2023, about 2 years ago

The entity API docs at https://api.drupal.org/api/drupal/core!modules!system!entity.api.php/gro... say:

> For content entities, the annotation will refer to a number of database tables and their fields. These annotation properties, such as 'base_table', 'data_table', 'entity_keys', etc., are documented on \Drupal\Core\Entity\EntityType.

However, the docs don't say much more than repeat the name of the variable

Eg at https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityType...

> The name of the entity type's data table.

Or at https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityType...

> An array of entity keys.

If there are better docs elsewhere, Entity API's link needs to be fixed. Or if the annotation is where the docs are meant to be, they need more detail.

📌 Task
Status

Needs work

Version

10.1

Component
Documentation 

Last updated 3 days ago

No maintainer
Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024