diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-03-21 11:29:21 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-03-21 11:29:21 -0700 |
commit | 66f93d7106877e7f63b4be37c239b74c32638ad9 (patch) | |
tree | 696dbabcfc7e8080fa02501ebfdeeaedbdff1498 /modules | |
parent | 11a177068dac685e10f053bde29cb58944763210 (diff) | |
download | brdo-66f93d7106877e7f63b4be37c239b74c32638ad9.tar.gz brdo-66f93d7106877e7f63b4be37c239b74c32638ad9.tar.bz2 |
Issue #1041902 by jhodgdon: hook_entity_info() doc header has a couple of omissions.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.api.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 7b7158a49..4319dbf4c 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -75,6 +75,7 @@ function hook_hook_info_alter(&$hooks) { * Leave blank to use the DrupalDefaultEntityController implementation. * - base table: (used by DrupalDefaultEntityController) The name of the * entity type's base table. + * - revision table: The name of the entity type's revision table (if any). * - static cache: (used by DrupalDefaultEntityController) FALSE to disable * static caching of entities during a page request. Defaults to TRUE. * - field cache: (used by Field API loading and saving of field data) FALSE @@ -96,7 +97,8 @@ function hook_hook_info_alter(&$hooks) { * specify a callback function here, which will be called to determine the * entity label. See also the entity_label() function, which implements this * logic. - * - fieldable: Set to TRUE if you want your entity type to be fieldable. + * - fieldable: Set to TRUE if you want your entity type to accept fields + * being attached to it. * - translation: An associative array of modules registered as field * translation handlers. Array keys are the module names, array values * can be any data structure the module uses to provide field translation. |