From 7f48f384f87eca8c57b11aacab7da3bc35469d4e Mon Sep 17 00:00:00 2001 From: prashant Date: Mon, 23 May 2016 15:05:31 +0530 Subject: added interface to add new city in database --- form_edit.module | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'form_edit.module') diff --git a/form_edit.module b/form_edit.module index dd58953..f59f5ad 100755 --- a/form_edit.module +++ b/form_edit.module @@ -3,6 +3,20 @@ function form_edit_menu() { $items = array(); + $items['form_edit/add/city'] = array( + 'title' => 'Add new city in databse', + 'description' => 'Add new city in databse', + 'page callback' => 'drupal_get_form', + 'page arguments' => array( + 'add_new_city_form' + ), + 'access arguments' => array( + 'edit completed book proposal' + ), + 'type' => MENU_NORMAL_ITEM, + 'weight' => 2, + 'file' => 'form_edit.inc' + ); $items['form_edit/tbc/all'] = array( 'title' => 'All completed Proposals', 'description' => 'All completed Proposals', -- cgit