function blocktheme_menu in Block Theme 6
Same name and namespace in other branches
- 5 blocktheme.module \blocktheme_menu()
- 7 blocktheme.module \blocktheme_menu()
Implementation of hook_menu().
File
- ./
blocktheme.module, line 30 - Provides a configuration option to select custom themes for blocks
Code
function blocktheme_menu() {
$items = array();
$items['admin/settings/blocktheme'] = array(
'title' => t('Block Theme'),
'description' => t('Allows the admin to define re-usable block templates that can be configured from block config screen'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'blocktheme_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
);
return $items;
}