You are here

public function MediaBrowserUpload::view in D7 Media 7.3

Same name and namespace in other branches
  1. 7.4 includes/MediaBrowserUpload.inc \MediaBrowserUpload::view()
  2. 7.2 includes/MediaBrowserUpload.inc \MediaBrowserUpload::view()

Implements MediaBrowserPlugin::view().

Overrides MediaBrowserPlugin::view

1 method overrides MediaBrowserUpload::view()
MediaBrowserBulkUpload::view in modules/media_bulk_upload/includes/MediaBrowserBulkUpload.inc
Overrides MediaBrowserPlugin::view().

File

includes/MediaBrowserUpload.inc, line 25
Definition of MediaBrowserUpload.

Class

MediaBrowserUpload
Media browser plugin for showing the upload form.

Code

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