function htmltidy_perm in HTML Tidy 6
Same name and namespace in other branches
- 5 htmltidy.module \htmltidy_perm()
Drupal hook that returns an array of valid permissions for the htmltidy module.
Return value
An array of valid permissions for the htmltidy module.
File
- ./
htmltidy.module, line 310 - The theme system, which controls the output of Drupal. The htmltidy module uses Tidy (http://tidy.sf.net) to properly format HTML for saving and display.
Code
function htmltidy_perm() {
return array(
'use htmltidy debug mode',
'administer htmltidy',
);
}