function commons_groups_menu in Drupal Commons 7.3
Implements hook_menu Used with commons_groups_help and the commons groups update view to turn off the warning message to update groups
File
- modules/
commons/ commons_groups/ commons_groups.module, line 215
Code
function commons_groups_menu() {
$items['admin/content/groups/update/toggle'] = array(
'title' => 'Toggle Groups Update',
'page callback' => 'commons_groups_update_toggle',
'access arguments' => array(
'edit any group content',
),
'type' => MENU_CALLBACK,
);
return $items;
}