-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorderbox.module
37 lines (34 loc) · 985 Bytes
/
orderbox.module
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* @file
* Orderbox module.
*
* @author: Adolfo G. Nasol http://drupal.org/user/547004
*
*/
/**
* Implements hook_menu().
*/
function orderbox_menu() {
$items = array();
$items['admin/config/system/orderbox'] = array(
'title' => 'Orderbox',
'description' => 'Orderbox Configuration and settings',
'page callback' => 'drupal_get_form',
'page arguments' => array('orderbox_settings'),
'file' => 'orderbox.admin.inc',
'access arguments' => array('administer site configuration'),
'type' => MENU_NORMAL_ITEM,
);
$items['admin/config/system/orderbox/login'] = array(
'title' => 'Orderbox',
'description' => 'Orderbox Login Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array('orderbox_settings'),
'file' => 'orderbox.admin.inc',
'access arguments' => array('administer site configuration'),
'weight' => -10,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
return $items;
}