You are here

function photoswipe_menu in PhotoSwipe 6

Same name and namespace in other branches
  1. 7.2 photoswipe.module \photoswipe_menu()
  2. 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;
}