function advpoll_convert_menu in Advanced Poll 6.2
Same name and namespace in other branches
- 5 advpoll_convert.module \advpoll_convert_menu()
- 6.3 advpoll_convert.module \advpoll_convert_menu()
- 6 advpoll_convert.module \advpoll_convert_menu()
Implementation of hook_menu().
File
- ./
advpoll_convert.module, line 22 - Converts a site's standard Drupal polls into Advanced Poll polls.
Code
function advpoll_convert_menu() {
global $user;
$items = array();
$items['admin/content/advpoll-convert'] = array(
'title' => 'Advanced Poll Converter',
'description' => 'Convert your site\'s standard Drupal polls into Advanced Poll polls.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'advpoll_convert_form',
),
'access arguments' => array(
'administer nodes',
),
);
return $items;
}