function ogactivity_menu in Activity 5.4
Same name and namespace in other branches
- 6 contrib/ogactivity/ogactivity.module \ogactivity_menu()
Implementation of hook_menu().
File
- contrib/
ogactivity/ ogactivity.module, line 124
Code
function ogactivity_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'activity/og',
'title' => t('My groups activity'),
'callback' => 'ogactivity_page',
'type' => MENU_LOCAL_TASK,
'access' => user_access('view own activity'),
);
}
return $items;
}