function video_perm in Video 5
Same name and namespace in other branches
- 6.5 video.module \video_perm()
- 6 video.module \video_perm()
- 6.2 video.module \video_perm()
- 6.3 video.module \video_perm()
- 6.4 video.module \video_perm()
Permissions hook
Return value
array of permissions
File
- ./
video.module, line 236 - Display video in Quicktime MOV, Realmedia RM, Flash FLV & SWF, or Windows Media WMV formats.
Code
function video_perm() {
$array = array(
'create video',
'access video',
'administer video',
'play video',
'download video',
'view play counter',
'view download counter',
'edit own video',
'edit all video nodes',
);
return $array;
}