function i18nblocks_menu in Internationalization 5.3
Same name and namespace in other branches
- 5 i18nblocks/i18nblocks.module \i18nblocks_menu()
- 5.2 i18nblocks/i18nblocks.module \i18nblocks_menu()
Implementation of hook_menu()
File
- i18nblocks/
i18nblocks.module, line 27
Code
function i18nblocks_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/build/block/i18n',
'title' => t('Add multilingual block'),
'access' => user_access('administer blocks'),
'callback' => 'i18nblocks_admin',
'type' => MENU_LOCAL_TASK,
);
}
return $items;
}