Commit 74520b47 authored by webchick's avatar webchick
Browse files

Issue #2491691 by marcoscano, cilefen, jhodgdon, joachim: Entity API docs...

Issue #2491691 by marcoscano, cilefen, jhodgdon, joachim: Entity API docs incorrectly state hook_schema() is needed
parent 057f8aa3
...@@ -316,8 +316,7 @@ ...@@ -316,8 +316,7 @@
* - For content entities, the annotation will refer to a number of database * - For content entities, the annotation will refer to a number of database
* tables and their fields. These annotation properties, such as 'base_table', * tables and their fields. These annotation properties, such as 'base_table',
* 'data_table', 'entity_keys', etc., are documented on * 'data_table', 'entity_keys', etc., are documented on
* \Drupal\Core\Entity\EntityType. Your module will also need to set up its * \Drupal\Core\Entity\EntityType.
* database tables using hook_schema().
* - For content entities that are displayed on their own pages, the annotation * - For content entities that are displayed on their own pages, the annotation
* will refer to a 'uri_callback' function, which takes an object of the * will refer to a 'uri_callback' function, which takes an object of the
* entity interface you have defined as its parameter, and returns routing * entity interface you have defined as its parameter, and returns routing
......
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