You are here

function advpoll_converter_menu in Advanced Poll 7

Same name and namespace in other branches
  1. 7.3 advpoll_converter/advpoll_converter.module \advpoll_converter_menu()
  2. 7.2 advpoll_converter/advpoll_converter.module \advpoll_converter_menu()

Implements hook_menu().

File

advpoll_converter/advpoll_converter.module, line 13

Code

function advpoll_converter_menu() {
  $items = array();
  $items['admin/structure/advpoll-converter'] = array(
    'title' => 'Advanced Poll Converter',
    'description' => 'Convert Drupal polls into Advanced Polls.',
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer polls',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'advpoll_converter_form',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'advpoll_converter.admin.inc',
  );
  return $items;
}