public static function BookAccess::grantIDs in Book access 6.2
Same name and namespace in other branches
- 7.2 book_access.module \BookAccess::grantIDs()
Returns the grant IDs implemented by the module.
6 calls to BookAccess::grantIDs()
- BookAccess::addAuthorGrants in ./
book_access.module - Adds author grants to book pages.
- BookAccess::addRoleGrants in ./
book_access.module - Adds role grants to book pages.
- BookAccess::addUserGrants in ./
book_access.module - Adds user grants to book pages.
- BookAccess::getAuthorGrants in ./
book_access.module - Returns the book author grants.
- BookAccess::getRoleGrants in ./
book_access.module - Returns the role book grants.
File
- ./
book_access.module, line 488 - Allows to set the access control for book nodes on a per book basis. It is based on forum_access.module and tac_lite.module.
Class
- BookAccess
- @file
Code
public static function grantIDs() {
return array(
'grant_view',
'grant_update',
'grant_delete',
'grant_admin_access',
'grant_add_child',
'grant_edit_outline',
);
}