function remote_stream_wrapper_permission in Remote Stream Wrapper 7
Implements hook_permission().
File
- ./
remote_stream_wrapper.module, line 52 - Provides a remote stream wrapper and file field integration.
Code
function remote_stream_wrapper_permission() {
$permission = array();
if (module_exists('media')) {
$permission['add media from remote urls'] = array(
'title' => t('Add media from remote URLs'),
'description' => t('Add media from remote URLs.'),
);
}
return $permission;
}