You are here

function anonymous_publishing_lr_menu in Anonymous Publishing 7

Implements hook_menu().

File

modules/lr/anonymous_publishing_lr.module, line 11
Hooks for the Anonymous Publishing LR module.

Code

function anonymous_publishing_lr_menu() {
  $items['user/%user/cap'] = array(
    'title' => 'Claim anonymous posts',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'anonymous_publishing_lr_form',
      1,
    ),
    'access callback' => 'anonymous_publishing_lr_user_access',
    'access arguments' => array(
      1,
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
  );
  return $items;
}