summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2013-04-04 15:52:56 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2013-04-04 15:52:56 -0700
commit558e9a7da1f731fbee30963ddb6ec077bf579736 (patch)
treeef08aa6395e227aedb7663947f07ca6163eea9be /includes/common.inc
parentf854613f463affbcde6ae0a3729c32cb2e02df45 (diff)
downloadbrdo-558e9a7da1f731fbee30963ddb6ec077bf579736.tar.gz
brdo-558e9a7da1f731fbee30963ddb6ec077bf579736.tar.bz2
Issue #1943664 by joachim: Use new standards to document entity info callback functions
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 27fa190e0..31923f28b 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -2086,6 +2086,9 @@ function _format_date_callback(array $matches = NULL, $new_langcode = NULL) {
/**
* Format a username.
*
+ * This is also the label callback implementation of
+ * callback_entity_info_label() for user_entity_info().
+ *
* By default, the passed-in object's 'name' property is used if it exists, or
* else, the site-defined value for the 'anonymous' variable. However, a module
* may override this by implementing hook_username_alter(&$name, $account).