- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathBootstrapBlocks_module.module
More file actions
Latest commit
24 lines (22 loc) · 601 Bytes
/
Copy pathBootstrapBlocks_module.module
File metadata and controls
24 lines (22 loc) · 601 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
//Includes
include('includes/admin.inc');
/**
* Impliments hook_menu
*/
function BootstrapBlocks_module_menu() {
$items = array();
$items['admin/appearance/bootstrapblocks'] = array(
'title' => t('Bootstrap Blocks'),
'access arguments' => array('administer themes'),
'page callback' => 'drupal_get_form',
'page arguments' => array('BootstrapBlocks_settings_form'),
'type' => MENU_LOCAL_TASK,
);
$items['admin/appearance/bootstrapblocks/settings'] = array(
'title' => 'Main',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10
);
return $items;
}