forked from ThVanC/bd_contact_tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbd_contact.module
More file actions
35 lines (33 loc) · 829 Bytes
/
bd_contact.module
File metadata and controls
35 lines (33 loc) · 829 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
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* Implements hook_menu()
*/
function bd_contact_array() {
return array(
'admin/content/bd_contact' => array(
'title' => 'BD Contact submissions',
'route_name' => 'bd_contact_list',
),
'admin/content/bd_contact/add' => array(
'title' => 'BD Contact',
'route_name' => 'bd_contact_add',
),
'admin/content/bd_contact/delete/%' => array(
'title' => 'Delete BD Contact submission',
'route_name' => 'bd_contact_delete',
),
);
}
/**
* Implements hook_permission()
*/
/*function bd_contact_permission() {
return array(
'manage bd contact forms' => array(
'title' => t('Manage bd contact form submissions'),
),
'use bd contact form' => array(
'title' => t('Use the bd contact form'),
),
);
}*/