You are here

function file_aliases_menu in File Aliases 6

Same name and namespace in other branches
  1. 5 file_aliases.module \file_aliases_menu()
  2. 7 file_aliases.module \file_aliases_menu()

Implements hook_menu().

File

./file_aliases.module, line 10
Contains core functions for the File Aliases module.

Code

function file_aliases_menu() {
  $items['filefield_paths/alias/%'] = array(
    'page callback' => 'file_aliases_load_fid',
    'page arguments' => array(
      2,
    ),
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}