function admin_block_theme in Admin 7.2
Same name and namespace in other branches
- 6.2 includes/admin.theme.inc \admin_block_theme()
Theme switcher admin block.
1 call to admin_block_theme()
- admin_block_view in ./
admin.module - Implements hook_block_view().
File
- includes/
admin.theme.inc, line 6
Code
function admin_block_theme() {
$themes = list_themes();
if (count($themes) > 2) {
return array(
'subject' => t('Switch theme'),
'content' => drupal_get_form('admin_block_theme_form', $themes),
);
}
}