You are here

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

Implements MediaBrowserPlugin::access().

File

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

Class

AcquiaDAMMediaBrowserPlugin
Media browser plugin for showing the upload form.

Code

public function access($account = NULL) {
  return user_access('administer files', $account) || user_access('access media acquiadam browser', $account);
}