From 74520b4777304adfa96e7cfd90d7372a2edfe35c Mon Sep 17 00:00:00 2001 From: webchick Date: Sun, 24 May 2015 20:53:01 -0700 Subject: [PATCH] Issue #2491691 by marcoscano, cilefen, jhodgdon, joachim: Entity API docs incorrectly state hook_schema() is needed --- core/modules/system/entity.api.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/system/entity.api.php b/core/modules/system/entity.api.php index 78f0e7a7783..e60550f1e65 100644 --- a/core/modules/system/entity.api.php +++ b/core/modules/system/entity.api.php @@ -316,8 +316,7 @@ use Drupal\node\Entity\NodeType; * - 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. Your module will also need to set up its - * database tables using hook_schema(). + * \Drupal\Core\Entity\EntityType. * - 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 * entity interface you have defined as its parameter, and returns routing