function drupalgap_menu in DrupalGap 7
Same name and namespace in other branches
- 8.2 drupalgap.module \drupalgap_menu()
- 6 drupalgap.module \drupalgap_menu()
- 7.2 drupalgap.module \drupalgap_menu()
- 8.0.x drupalgap.module \drupalgap_menu()
Implements hook_menu().
File
- ./
drupalgap.module, line 49 - A module to provide a bridge between Drupal websites and PhoneGap mobile applications.
Code
function drupalgap_menu() {
$items = array();
$items['admin/config/services/drupalgap'] = array(
'title' => 'DrupalGap',
'type' => MENU_NORMAL_ITEM,
'description' => 'The status of DrupalGap.',
'page callback' => 'drupalgap_status',
'access arguments' => array(
'administer drupalgap',
),
'file' => 'drupalgap.pages.inc',
);
$items['admin/config/services/drupalgap/download-app'] = array(
'title' => 'Download app',
'type' => MENU_CALLBACK,
'page callback' => 'drupalgap_download_app',
'access arguments' => array(
'administer drupalgap',
),
'file' => 'drupalgap.pages.inc',
);
return $items;
}