You are here

function media_internet_access in D7 Media 7

Same name and namespace in other branches
  1. 7.4 modules/media_internet/media_internet.module \media_internet_access()
  2. 7.2 modules/media_internet/media_internet.module \media_internet_access()
  3. 7.3 modules/media_internet/media_internet.module \media_internet_access()

Access callback for the media_internet media browser plugin.

1 call to media_internet_access()
media_internet_media_browser_plugin_info in modules/media_internet/media_internet.media.inc
Implements hook_media_browser_plugin_info().

File

modules/media_internet/media_internet.module, line 17

Code

function media_internet_access($account = NULL) {
  return user_access('administer media', $account) || user_access('add media from remote sources', $account);
}