public function MediaBrowserUpload::view in D7 Media 7.4
Same name and namespace in other branches
- 7.2 includes/MediaBrowserUpload.inc \MediaBrowserUpload::view()
- 7.3 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;
}