diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-11 15:52:13 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-11 15:52:13 +0000 |
commit | 52195a6b1dd478875a93935df27d7bcacb14f289 (patch) | |
tree | 052233b34e4c6a9a0d6268426e650500817265f6 /modules/system/system.api.php | |
parent | 30ae1fb5596cc59e27717262a04e6447d27cebb4 (diff) | |
download | brdo-52195a6b1dd478875a93935df27d7bcacb14f289.tar.gz brdo-52195a6b1dd478875a93935df27d7bcacb14f289.tar.bz2 |
#525622 by scor, catch, and yched: Allow Entity path callback to deal with options.
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 8ebf9d6c0..2245f4c6b 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -66,8 +66,9 @@ function hook_hook_info() { * static caching of entities during a page request. Defaults to TRUE. * - load hook: The name of the hook which should be invoked by * DrupalDefaultEntityController:attachLoad(), for example 'node_load'. - * - path callback: A function taking an entity as argument and returning the - * path to the entity. + * - uri callback: A function taking an entity as argument and returning the + * uri elements of the entity, e.g. 'path' and 'options'. The actual entity + * uri can be constructed by passing these elements to url(). * - fieldable: Set to TRUE if you want your entity type to be fieldable. * - object keys: An array describing how the Field API can extract the * information it needs from the objects of the type. Elements: |