summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-21 10:05:27 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-21 10:05:27 +0000
commitf5ebd774b1889163cef455dadb589b6b02df0b6a (patch)
tree568a072fa388216578a6aa1e20842012b2a1bfd3
parenta7300192fb4a88f869eb07faac85ca1817cef00b (diff)
downloadbrdo-f5ebd774b1889163cef455dadb589b6b02df0b6a.tar.gz
brdo-f5ebd774b1889163cef455dadb589b6b02df0b6a.tar.bz2
#972918 by jhodgdon: Add api documentation for class attribute for the l() function
-rw-r--r--includes/common.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 9b18292f6..f7a6ce3a4 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -2235,7 +2235,9 @@ function drupal_attributes(array $attributes = array()) {
* @param array $options
* An associative array of additional options, with the following elements:
* - 'attributes': An associative array of HTML attributes to apply to the
- * anchor tag.
+ * anchor tag. If element 'class' is included, it must be an array; 'title'
+ * must be a string; other elements are more flexible, as they just need
+ * to work in a call to drupal_attributes($options['attributes']).
* - 'html' (default FALSE): Whether $text is HTML or just plain-text. For
* example, to make an image tag into a link, this must be set to TRUE, or
* you will see the escaped HTML image tag.