You are here

function photos_swfu_menu in Album Photos 7.3

Same name and namespace in other branches
  1. 6.2 photos_swfu/photos_swfu.module \photos_swfu_menu()

Implements hook_menu().

File

photos_swfu/photos_swfu.module, line 7

Code

function photos_swfu_menu() {
  $items = array();
  $items['photos_swfu/upload'] = array(
    'page callback' => 'photos_swfu_upload',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['photos_swfu/upload/%node'] = array(
    'page callback' => 'photos_swfu_upload',
    'page arguments' => array(
      2,
    ),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}