You are here

function filefield_source_clipboard_menu in FileField Sources 7

Implements hook_menu().

File

sources/clipboard.inc, line 33
A FileField extension to allow transfer of files through the clipboard.

Code

function filefield_source_clipboard_menu() {
  $items = array();
  $items['file/clipboard/%/%/%'] = array(
    'page callback' => 'filefield_source_clipboard_page',
    'page arguments' => array(
      2,
      3,
      4,
    ),
    'access callback' => '_filefield_sources_field_access',
    'access arguments' => array(
      2,
      3,
      4,
    ),
    'file' => 'sources/clipboard.inc',
    'type' => MENU_CALLBACK,
  );
  return $items;
}