You are here

function remote_stream_wrapper_media_browser_plugin_access in Remote Stream Wrapper 7

Media 1.x browser plugin access callback.

Duplicate of RemoteStreamWrapperMediaBrowser::access().

1 call to remote_stream_wrapper_media_browser_plugin_access()
remote_stream_wrapper_media_browser_plugin_view in ./remote_stream_wrapper.module
Implements hook_media_browser_plugin_view().
2 string references to 'remote_stream_wrapper_media_browser_plugin_access'
remote_stream_wrapper_media_browser_plugin_info in ./remote_stream_wrapper.module
Implements hook_media_browser_plugin_info().
remote_stream_wrapper_menu in ./remote_stream_wrapper.module
Implements hook_menu().

File

./remote_stream_wrapper.module, line 222
Provides a remote stream wrapper and file field integration.

Code

function remote_stream_wrapper_media_browser_plugin_access() {
  return user_access('administer files') || user_access('add media from remote urls');
}