From 29f07d6d13d55f5e8dfe1006ac97fdbb7c0d6988 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 24 Oct 2011 20:04:04 -0700 Subject: Issue #1314396 by rocket_nova: Fixed Documentation for theme_links() should say that Attributes class must be an array . --- includes/theme.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/theme.inc') 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 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 -- cgit v1.2.3