summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-06 19:49:03 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-06 19:49:03 +0000
commitba96cffdb7d3f76254ff7391523a6fc34abf10e2 (patch)
treedd42dc052efda70657a1e73ab1e47964c920d734 /modules/system
parentc2b1029595afe103b5f1533604cfe658755f1f8d (diff)
downloadbrdo-ba96cffdb7d3f76254ff7391523a6fc34abf10e2.tar.gz
brdo-ba96cffdb7d3f76254ff7391523a6fc34abf10e2.tar.bz2
- Patch #699440 by scor, effulgentsia, noahb, catch: add bundle support to entity_uri() callback to remove performance overhead of forum_url_outbound_alter().
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.api.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 52487ab78..b188e871b 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -99,6 +99,10 @@ function hook_hook_info() {
* bundles machine names, as found in the objects' 'bundle' property
* (defined in the 'entity keys' entry above). Elements:
* - label: The human-readable name of the bundle.
+ * - uri callback: Same as the 'uri callback' key documented above for the
+ * entity type, but for the bundle only. When determining the URI of an
+ * entity, if a 'uri callback' is defined for both the entity type and
+ * the bundle, the one for the bundle is used.
* - admin: An array of information that allows Field UI pages to attach
* themselves to the existing administration pages for the bundle.
* Elements: