You are here

public function AcquiaDAMMediaBrowserPlugin::view in Media: Acquia DAM 7

Implements MediaBrowserPlugin::view().

File

modules/media_acquiadam_browser/includes/AcquiaDAMMediaBrowserPlugin.inc, line 20
Definition of AcquiaDAMMediaBrowserPlugin.

Class

AcquiaDAMMediaBrowserPlugin
Media browser plugin for showing the upload form.

Code

public function view() {
  module_load_include('module', 'media_acquiadam', 'media_acquiadam');
  $build = [
    '#title' => t('Acquia DAM'),
    '#weight' => 10,
    'form' => drupal_get_form('media_acquiadam_browser_choose_asset_form', $this->params),
  ];
  return $build;
}