function photoswipe_menu in PhotoSwipe 6
Same name and namespace in other branches
- 7.2 photoswipe.module \photoswipe_menu()
- 7 photoswipe.module \photoswipe_menu()
Implementation of hook_menu().
File
- ./
photoswipe.module, line 114
Code
function photoswipe_menu() {
$items = array();
$items['admin/settings/photoswipe'] = array(
'title' => 'PhotoSwipe',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'photoswipe_admin_settings',
),
'access arguments' => array(
'administer photoswipe',
),
'description' => 'Configure global settings for PhotoSwipe.',
);
return $items;
}