diff options
author | Prashant S | 2016-05-23 15:11:17 +0530 |
---|---|---|
committer | Prashant S | 2016-05-23 15:11:17 +0530 |
commit | b7811bfbdfd48be8982b5fa187b61edac18e2087 (patch) | |
tree | 16ad5febabad9e1ae98f076d40f85b456743644d /form_edit.module | |
parent | 9f4a7a11d99550ab348575ae96b0fba21ef738a2 (diff) | |
parent | 7f48f384f87eca8c57b11aacab7da3bc35469d4e (diff) | |
download | scilab_form_edit-b7811bfbdfd48be8982b5fa187b61edac18e2087.tar.gz scilab_form_edit-b7811bfbdfd48be8982b5fa187b61edac18e2087.tar.bz2 scilab_form_edit-b7811bfbdfd48be8982b5fa187b61edac18e2087.zip |
added interface to add new city in database
Diffstat (limited to 'form_edit.module')
-rwxr-xr-x | form_edit.module | 14 |
1 files changed, 14 insertions, 0 deletions
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', |