You are here

function media_internet_media_internet_providers in D7 Media 7.4

Same name and namespace in other branches
  1. 7 modules/media_internet/media_internet.media.inc \media_internet_media_internet_providers()
  2. 7.2 modules/media_internet/media_internet.media.inc \media_internet_media_internet_providers()
  3. 7.3 modules/media_internet/media_internet.media.inc \media_internet_media_internet_providers()

Implements hook_media_internet_providers().

Provides a very basic handler which copies files from remote sources to the local files directory.

File

modules/media_internet/media_internet.media.inc, line 26
Media module integration for the Media internet module.

Code

function media_internet_media_internet_providers() {
  return array(
    'MediaInternetFileHandler' => array(
      'title' => 'Files',
      'hidden' => TRUE,
      // Make it go last.
      'weight' => 10000,
    ),
  );
}