class BynderMediaUpload in Bynder 7
Browser plugin for Bynder files.
Hierarchy
- class \BynderMediaUpload extends \MediaBrowserPlugin
Expanded class hierarchy of BynderMediaUpload
1 string reference to 'BynderMediaUpload'
- bynder_media_browser_plugin_info in ./
bynder.module - Implements hook_media_browser_plugin_info().
File
- includes/
BynderMediaUpload.inc, line 12 - bynder/includes/BynderMediaBrowser.inc
View source
class BynderMediaUpload 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_upload', $this->params);
return $build;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BynderMediaUpload:: |
public | function | Implements MediaBrowserPluginInterface::access(). | |
BynderMediaUpload:: |
public | function | Implements MediaBrowserPlugin::view(). |