You are here

function blocktheme_menu in Block Theme 7

Same name and namespace in other branches
  1. 5 blocktheme.module \blocktheme_menu()
  2. 6 blocktheme.module \blocktheme_menu()

Implements hook_menu().

File

./blocktheme.module, line 31
Provides a configuration option to select custom themes for blocks

Code

function blocktheme_menu() {
  $items = array();
  $items['admin/config/user-interface/blocktheme'] = array(
    'title' => 'Block Theme',
    'description' => "Define re-usable block templates that can be configured from each block's configuration page.",
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'blocktheme_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}