function photoswipe_menu in PhotoSwipe 7
Same name and namespace in other branches
- 6 photoswipe.module \photoswipe_menu()
- 7.2 photoswipe.module \photoswipe_menu()
Implements hook_menu().
File
- ./
photoswipe.module, line 69 - Photswipe integration with Drupal module.
Code
function photoswipe_menu() {
$items = array();
$items['admin/config/media/photoswipe'] = array(
'title' => 'PhotoSwipe',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'photoswipe_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'description' => 'Configure settings for PhotoSwipe javascript library.',
);
return $items;
}