You are here

public function MediaBrowserInternet::view in D7 Media 7.4

Same name and namespace in other branches
  1. 7.2 modules/media_internet/includes/MediaBrowserInternet.inc \MediaBrowserInternet::view()
  2. 7.3 modules/media_internet/includes/MediaBrowserInternet.inc \MediaBrowserInternet::view()

Implements MediaBrowserPlugin::view().

Overrides MediaBrowserPlugin::view

File

modules/media_internet/includes/MediaBrowserInternet.inc, line 22
Definition of MediaBrowserInternet.

Class

MediaBrowserInternet
Media browser plugin for Media Internet sources.

Code

public function view() {
  module_load_include('inc', 'file_entity', 'file_entity.pages');
  $build = array();
  $params = $this->params;
  $params['internet_media'] = TRUE;
  $build['form'] = drupal_get_form('media_internet_add_upload', $params);
  return $build;
}