function fivestar_perm in Fivestar 5
Same name and namespace in other branches
- 6.2 fivestar.module \fivestar_perm()
- 6 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 89 - A simple n-star voting widget, usable in other forms.
Code
function fivestar_perm() {
return array(
'rate content',
'use PHP for fivestar target',
);
}