You are here

function redhen_engagement_menu in RedHen CRM 7

Implements hook_menu().

File

modules/redhen_engagement/redhen_engagement.module, line 82
RedhenEngagement hook implementations and API

Code

function redhen_engagement_menu() {
  $items = array();
  $items["redhen/contact/%redhen_contact/engagements"] = array(
    'title' => 'Engagement',
    'page callback' => 'redhen_engagements_page',
    'page arguments' => array(
      2,
    ),
    'access callback' => 'redhen_contact_access',
    'access arguments' => array(
      'view',
      2,
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => -1,
  );
  return $items;
}