summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-10-24 20:04:04 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-10-24 20:04:04 -0700
commit29f07d6d13d55f5e8dfe1006ac97fdbb7c0d6988 (patch)
tree4f32fb83d27cb52abe85be3cfb95924866f00603 /includes/theme.inc
parentb53e9583645f87a5bf4c4475ba728bc508ce2e7d (diff)
downloadbrdo-29f07d6d13d55f5e8dfe1006ac97fdbb7c0d6988.tar.gz
brdo-29f07d6d13d55f5e8dfe1006ac97fdbb7c0d6988.tar.bz2
Issue #1314396 by rocket_nova: Fixed Documentation for theme_links() should say that Attributes class must be an array .
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 17c49f1c4..252eec081 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1399,7 +1399,8 @@ function theme_link($variables) {
* - html: (optional) Whether or not 'title' is HTML. If set, the title
* will not be passed through check_plain().
* - attributes: (optional) Attributes for the anchor, or for the <span> tag
- * used in its place if no 'href' is supplied.
+ * used in its place if no 'href' is supplied. If element 'class' is
+ * included, it must be an array of one or more class names.
* If the 'href' element is supplied, the entire link array is passed to l()
* as its $options parameter.
* - attributes: A keyed array of attributes for the UL containing the