function advpoll_converter_menu in Advanced Poll 7.3
Same name and namespace in other branches
- 7 advpoll_converter/advpoll_converter.module \advpoll_converter_menu()
- 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;
}