function fivestar_perm in Fivestar 6
Same name and namespace in other branches
- 5 fivestar.module \fivestar_perm()
- 6.2 fivestar.module \fivestar_perm()
Implementation of hook_perm().
Exposes permissions for rating content, viewing aggregate ratings, and using PHP snippets when configuring fivestar CCK fields.
File
- ./
fivestar.module, line 86 - A simple n-star voting widget, usable in other forms.
Code
function fivestar_perm() {
return array(
'rate content',
'use PHP for fivestar target',
);
}