function lightbox2_menu in Lightbox2 5
Same name and namespace in other branches
- 8 lightbox2.module \lightbox2_menu()
- 5.2 lightbox2.module \lightbox2_menu()
- 6 lightbox2.module \lightbox2_menu()
- 7.2 lightbox2.module \lightbox2_menu()
- 7 lightbox2.module \lightbox2_menu()
Implementation of hook_menu()
File
- ./
lightbox2.module, line 69
Code
function lightbox2_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/lightbox2',
'title' => t('Lightbox2'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'lightbox2_settings_form',
),
'access' => user_access('administer lightbox2'),
'description' => t('Allows the user to configure the lightbox2 settings'),
);
}
return $items;
}