You are here

class BynderMediaBrowser in Bynder 7

Browser plugin for Bynder files.

Hierarchy

Expanded class hierarchy of BynderMediaBrowser

1 string reference to 'BynderMediaBrowser'
bynder_media_browser_plugin_info in ./bynder.module
Implements hook_media_browser_plugin_info().

File

includes/BynderMediaBrowser.inc, line 12
bynder/includes/BynderMediaBrowser.inc

View source
class BynderMediaBrowser extends MediaBrowserPlugin {

  /**
   * Implements MediaBrowserPluginInterface::access().
   */
  public function access($account = null) {
    return user_access('administer media bynder');
  }

  /**
   * Implements MediaBrowserPlugin::view().
   */
  public function view() {
    $build = array();
    $build['form'] = drupal_get_form('bynder_add', $this->params);
    return $build;
  }

}

Members