You are here

function photoswipe_menu in PhotoSwipe 7.2

Same name and namespace in other branches
  1. 6 photoswipe.module \photoswipe_menu()
  2. 7 photoswipe.module \photoswipe_menu()

Implements hook_menu().

File

./photoswipe.module, line 16
Photswipe integration with Drupal module.

Code

function photoswipe_menu() {
  $items = array();
  $items['admin/config/media/photoswipe'] = array(
    'title' => 'PhotoSwipe',
    'description' => 'Adjust PhotoSwipe settings.',
    'file' => 'photoswipe.admin.inc',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'photoswipe_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}