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