You are here

public function RemoteStreamWrapperMediaBrowser::access in Remote Stream Wrapper 7

Implements MediaBrowserPluginInterface::access().

File

./RemoteStreamWrapperMediaBrowser.inc, line 21
Definition of RemoteStreamWrapperMediaBrowser.

Class

RemoteStreamWrapperMediaBrowser
Media browser plugin for remote files.

Code

public function access($account = NULL) {
  return user_access('administer files', $account) || user_access('add media from remote urls', $account);
}