You are here

function ogactivity_menu in Activity 6

Same name and namespace in other branches
  1. 5.4 contrib/ogactivity/ogactivity.module \ogactivity_menu()

Implementation of hook_menu().

File

contrib/ogactivity/ogactivity.module, line 129

Code

function ogactivity_menu() {
  $items = array();
  $items['activity/og'] = array(
    'title' => 'My groups activity',
    'page callback' => 'ogactivity_page',
    'type' => MENU_LOCAL_TASK,
    'access callback' => 'user_access',
    'access arguments' => array(
      'view own activity',
    ),
  );
  return $items;
}