You are here

function flickrapi_menu in Flickr API 6

Same name and namespace in other branches
  1. 5 flickrapi.module \flickrapi_menu()
  2. 7.2 flickrapi.module \flickrapi_menu()
  3. 7 flickrapi.module \flickrapi_menu()

Implementation of hook_menu().

File

./flickrapi.module, line 6

Code

function flickrapi_menu() {
  $items = array();
  $items['admin/settings/flickrapi'] = array(
    'title' => 'Flickr API Settings',
    'description' => 'Configure Flickr API credentials.',
    'access arguments' => array(
      'configure flickr api',
    ),
    'type' => MENU_NORMAL_ITEM,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'flickrapi_admin_settings',
    ),
  );
  return $items;
}