diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-06-01 01:34:05 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-06-01 01:34:05 -0700 |
commit | 14d2ba86befdbdbaaf34c9be642e60ff78bfccc7 (patch) | |
tree | 27b9b497d24c1955280952ba2084fbc316b994f3 | |
parent | 6bf6ee29fc69f354256f92a264bd86cd72d00d14 (diff) | |
download | brdo-14d2ba86befdbdbaaf34c9be642e60ff78bfccc7.tar.gz brdo-14d2ba86befdbdbaaf34c9be642e60ff78bfccc7.tar.bz2 |
Issue #1161964 by arcaneadam: Fixed hook_system_themes_page_alter() documentation is incorrect.
-rw-r--r-- | modules/system/system.api.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index c7db6f1dd..ece18aced 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -3924,7 +3924,11 @@ function hook_system_themes_page_alter(&$theme_groups) { foreach ($theme_groups as $state => &$group) { foreach ($theme_groups[$state] as &$theme) { // Add a foo link to each list of theme operations. - $theme->operations[] = l(t('Foo'), 'admin/appearance/foo', array('query' => array('theme' => $theme->name))); + $theme->operations[] = array( + 'title' => t('Foo'), + 'href' => 'admin/appearance/foo', + 'query' => array('theme' => $theme->name) + ); } } } |