page_example_perm()
documentation/examples/page_example.module, line 33
Implementation of hook_perm().
Since the access to our new custom pages will be granted based on special permissions, we need to define what those permissions are here. This ensures that they are available to enable on the user role administration pages.
<?php
function page_example_perm() {
return array('access foo', 'access baz');
}
?>