You are here

function jammer_menu in Jammer 5

Same name and namespace in other branches
  1. 6 jammer.module \jammer_menu()
  2. 7 jammer.module \jammer_menu()

Implementation of hook_menu().

File

./jammer.module, line 21
Modify forms.

Code

function jammer_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/jammer',
      'title' => t('Jammer'),
      'description' => t('Remove items from node editing forms.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'jammer_admin_settings',
      ),
      'access' => user_access('administer site configuration'),
    );
  }
  return $items;
}