From 558e9a7da1f731fbee30963ddb6ec077bf579736 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Thu, 4 Apr 2013 15:52:56 -0700 Subject: Issue #1943664 by joachim: Use new standards to document entity info callback functions --- includes/common.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'includes') 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). -- cgit v1.2.3