You are here

function pmorganization_menu in Drupal PM (Project Management) 7

Implements hook_menu().

File

pmorganization/pmorganization.module, line 92

Code

function pmorganization_menu() {
  $items = array();
  $items['pm/organizations/autocomplete'] = array(
    'title' => 'Organization autocomplete',
    'page callback' => 'pmorganization_autocomplete',
    'access arguments' => array(
      'Project Management Organization: access',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'pmorganization.admin.inc',
  );
  $items['admin/config/pm/organization'] = array(
    'title' => 'Organizations',
    'description' => 'Configure default PM Organization.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'pmorganization_admin_settings',
    ),
    'access arguments' => array(
      'Project Management: access administration pages',
    ),
  );
  return $items;
}