function media_internet_access in D7 Media 7.3
Same name and namespace in other branches
- 7.4 modules/media_internet/media_internet.module \media_internet_access()
- 7 modules/media_internet/media_internet.module \media_internet_access()
- 7.2 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);
}