summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel2011-10-24 05:30:36 (GMT)
committer Nathaniel2011-10-24 05:30:36 (GMT)
commitd57f6e198af0ebbfc87b97009fa06bae00d41968 (patch)
treef9f6b7b7c8a358ec992d0c189eb21e50e145d9c9
parent16694bb8bb5482c0cc61c8138c4c56da22868279 (diff)
Issue #1314396 by rocket_nova: Fixed Documentation for theme_links() should say that Attributes class must be an array.
-rw-r--r--includes/theme.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index bea87c0..7fad5f3 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1523,7 +1523,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