function pminvoice_menu in Drupal PM (Project Management) 7
Implements hook_menu().
File
- pminvoice/
pminvoice.module, line 84 - 1: Hooks (help, perm, init, menu, theme, node_info) 2: Access functions 3: Load organization and project details 4: Invoice create / edit form 5: Invoice node manipulation functions 6: Admin settings 7: Views hook 8: Project Managementinvoiceitem…
Code
function pminvoice_menu() {
$items = array();
$items['admin/config/pm/invoice'] = array(
'title' => 'Invoices',
'description' => 'Configure defaults shown on PM Invoices.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'pminvoice_admin_settings',
),
'access arguments' => array(
'Project Management: access administration pages',
),
);
return $items;
}