You are here

function filefield_source_imce_menu in FileField Sources 6

Same name and namespace in other branches
  1. 7 sources/imce.inc \filefield_source_imce_menu()

Implements hook_menu().

File

sources/imce.inc, line 36
A FileField extension to allow referencing of files from IMCE.

Code

function filefield_source_imce_menu() {
  $items = array();
  $items['filefield/imce/%/%'] = array(
    'page callback' => 'filefield_source_imce_page',
    'page arguments' => array(
      2,
      3,
    ),
    'access callback' => 'filefield_edit_access',
    'access arguments' => array(
      2,
      3,
    ),
    'file' => 'sources/imce.inc',
    'type' => MENU_CALLBACK,
  );
  return $items;
}