You are here

function remote_stream_wrapper_media_browser_plugin_info in Remote Stream Wrapper 7

Implements hook_media_browser_plugin_info().

File

./remote_stream_wrapper.module, line 206
Provides a remote stream wrapper and file field integration.

Code

function remote_stream_wrapper_media_browser_plugin_info() {
  $plugins['remote_file'] = array(
    'title' => t('Remote URL'),
    'class' => 'RemoteStreamWrapperMediaBrowser',
    // Support for Media 1.x browser plugin API.
    '#title' => t('Remote URL'),
    'access callback' => 'remote_stream_wrapper_media_browser_plugin_access',
  );
  return $plugins;
}