Issue #1161964 by arcaneadam: Fixed hook_system_themes_page_alter() documentation is incorrect.

merge-requests/26/head
webchick 2011-06-01 01:34:05 -07:00
parent 6bf6ee29fc
commit 14d2ba86be
1 changed files with 5 additions and 1 deletions

View File

@ -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)
);
}
}
}