Commit f5ebd774 authored by webchick's avatar webchick

#972918 by jhodgdon: Add api documentation for class attribute for the l() function

parent a7300192
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment