summaryrefslogtreecommitdiff
path: root/form_edit.module
diff options
context:
space:
mode:
authorPrashant S2016-05-23 15:11:17 +0530
committerPrashant S2016-05-23 15:11:17 +0530
commitb7811bfbdfd48be8982b5fa187b61edac18e2087 (patch)
tree16ad5febabad9e1ae98f076d40f85b456743644d /form_edit.module
parent9f4a7a11d99550ab348575ae96b0fba21ef738a2 (diff)
parent7f48f384f87eca8c57b11aacab7da3bc35469d4e (diff)
downloadscilab_form_edit-b7811bfbdfd48be8982b5fa187b61edac18e2087.tar.gz
scilab_form_edit-b7811bfbdfd48be8982b5fa187b61edac18e2087.tar.bz2
scilab_form_edit-b7811bfbdfd48be8982b5fa187b61edac18e2087.zip
Merge pull request #2 from prashantsinalkar/masterHEADmaster
added interface to add new city in database
Diffstat (limited to 'form_edit.module')
-rwxr-xr-xform_edit.module14
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',