From d57f6e198af0ebbfc87b97009fa06bae00d41968 Mon Sep 17 00:00:00 2001 From: Nathaniel <catch@35733.no-reply.drupal.org> Date: Mon, 24 Oct 2011 14:30:36 +0900 Subject: [PATCH] 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(-) diff --git a/includes/theme.inc b/includes/theme.inc index bea87c07ea77..7fad5f388dcb 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 -- GitLab