function redhen_registration_menu in RedHen CRM 7
Implements hook_menu().
File
- modules/
redhen_registration/ redhen_registration.module, line 11 - Module file for RedHen Registration.
Code
function redhen_registration_menu() {
$items = array();
// Contact registrations:
$items['redhen/contact/%redhen_contact/registrations'] = array(
'title' => 'Registrations',
'page callback' => 'redhen_registration_page',
'page arguments' => array(
2,
'redhen_contact',
),
'access callback' => 'redhen_contact_access',
'access arguments' => array(
'view',
2,
),
'type' => MENU_LOCAL_TASK,
'weight' => 0,
);
return $items;
}