You are here

function media_internet_media_browser_plugin_info in D7 Media 7

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

Implements hook_media_browser_plugin_info().

File

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

Code

function media_internet_media_browser_plugin_info() {
  $plugins = array();
  if (media_internet_access()) {
    $plugins['media_internet'] = array(
      '#weight' => -10,
    );
  }
  return $plugins;
}