function media_internet_menu in D7 Media 7.4
Same name and namespace in other branches
- 7.2 modules/media_internet/media_internet.module \media_internet_menu()
- 7.3 modules/media_internet/media_internet.module \media_internet_menu()
Implements hook_menu().
File
- modules/
media_internet/ media_internet.module, line 17
Code
function media_internet_menu() {
$items['file/add/web'] = array(
'title' => 'Web',
'description' => 'Add internet files to your media library.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'media_internet_add_upload',
),
'access callback' => 'media_internet_access',
'type' => MENU_LOCAL_TASK,
'file' => 'file_entity.pages.inc',
'file path' => drupal_get_path('module', 'file_entity'),
);
return $items;
}