diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-21 10:05:27 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-21 10:05:27 +0000 |
commit | f5ebd774b1889163cef455dadb589b6b02df0b6a (patch) | |
tree | 568a072fa388216578a6aa1e20842012b2a1bfd3 | |
parent | a7300192fb4a88f869eb07faac85ca1817cef00b (diff) | |
download | brdo-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.inc | 4 |
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. |