You are here

public static function BookAccess::grantIDs in Book access 7.2

Same name and namespace in other branches
  1. 6.2 book_access.module \BookAccess::grantIDs()

Returns the grant IDs implemented by the module.

9 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::defaultAuthorGrants in ./book_access.module
Returns the default author access permissions.
BookAccess::getAuthorGrants in ./book_access.module
Returns the book author grants.

... See full list

File

./book_access.module, line 569
Allows to set the access control for book nodes on a per book basis. 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',
  );
}