You are here

function opigno_simple_ui_og_menu in Opigno 7

Implements hook_menu().

1 call to opigno_simple_ui_og_menu()
opigno_simple_ui_menu in modules/simple_ui/opigno_simple_ui.module
Implements hook_menu().

File

modules/simple_ui/includes/opigno_simple_ui.og.inc, line 11
OG specific enhancements.

Code

function opigno_simple_ui_og_menu() {
  return array(
    'node/%/group/remove/%' => array(
      'title' => "Remove member",
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'opigno_simple_ui_remove_member_confirm',
        1,
        4,
      ),
      'access arguments' => array(
        0,
        1,
        'manage members',
      ),
      'access callback' => 'og_user_access',
      'file' => 'includes/opigno_simple_ui.og.inc',
      'type' => MENU_CALLBACK,
    ),
  );
}