You are here

function media_internet_access in D7 Media 7.4

Same name and namespace in other branches
  1. 7 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()
MediaBrowserInternet::access in modules/media_internet/includes/MediaBrowserInternet.inc
Implements MediaBrowserPluginInterface::access().
1 string reference to 'media_internet_access'
media_internet_menu in modules/media_internet/media_internet.module
Implements hook_menu().

File

modules/media_internet/media_internet.module, line 35

Code

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