summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2018-10-23 17:13:16 +0530
committerprashantsinalkar2018-10-23 17:13:16 +0530
commit11c1bcaf56a02f7aded7d1f59c326a1eb010274e (patch)
tree0022a325330764079ec58b1db2d503006d8ef291
parent929af12fd96307ad1555ded38ddf2577b29832ad (diff)
downloadosdag_workshop_booking-11c1bcaf56a02f7aded7d1f59c326a1eb010274e.tar.gz
osdag_workshop_booking-11c1bcaf56a02f7aded7d1f59c326a1eb010274e.tar.bz2
osdag_workshop_booking-11c1bcaf56a02f7aded7d1f59c326a1eb010274e.zip
added url for settings
-rw-r--r--osdag_workshop_booking.module18
1 files changed, 18 insertions, 0 deletions
diff --git a/osdag_workshop_booking.module b/osdag_workshop_booking.module
index fe3c0ef..d2af0c5 100644
--- a/osdag_workshop_booking.module
+++ b/osdag_workshop_booking.module
@@ -68,6 +68,20 @@ function osdag_workshop_booking_menu()
'type' => MENU_CALLBACK,
'file' => 'workshop_registration_process.inc'
);
+ /* ADMIN SETTINGS */
+ $items['admin/settings/osdag-workshop-booking'] = array(
+ 'title' => 'Osdag workshop booking Settings',
+ 'description' => 'Osdag Workshop Booking Settings',
+ 'page callback' => 'drupal_get_form',
+ 'page arguments' => array(
+ 'osdag_workshop_booking_settings_form'
+ ),
+ 'access arguments' => array(
+ 'administrator osdag workshop booking'
+ ),
+ 'type' => MENU_NORMAL_ITEM,
+ 'file' => 'settings.inc'
+ );
return $items;
}
@@ -85,6 +99,10 @@ function osdag_workshop_booking_permission()
"title" => t("Workshop Booking Proposal Form approve"),
"description" => t("Workshop Booking Proposal Form approve.")
),
+ "administrator osdag workshop booking" => array(
+ "title" => t("Workshop Booking administrator"),
+ "description" => t("Workshop Booking Proposal")
+ ),
);
}