You are here

function emvideo_menu in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emvideo/emvideo.module \emvideo_menu()
  2. 6.2 contrib/emvideo/emvideo.module \emvideo_menu()

Implementation of hook_menu().

File

contrib/emvideo/emvideo.module, line 21
Embedded Video module is a handler for 3rd party video files.

Code

function emvideo_menu() {
  $items = module_invoke('emfield', 'provider_menus', 'emvideo');
  $items['emvideo/modal/%node'] = array(
    'page callback' => 'emvideo_modal',
    'page arguments' => array(
      2,
    ),
    'access callback' => 'node_access',
    'access arguments' => array(
      'view',
      2,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}