Skip to main content
Home
Drupal API Help
Helping Drupal Community, One API at a time

Main menu

  • Home
  • Drupal Core
  • Getting Help

You are here

Home » API reference » Block Access 6.2 » block_access.module

function block_access_perm in Block Access 6.2

Same name and namespace in other branches
  1. 6 block_access.module \block_access_perm()

File

./block_access.module, line 106

Code

function block_access_perm() {

  // All the "All blocks" level permissions
  return array(
    BLOCK_ACCESS_ADMIN,
    BLOCK_ACCESS_CREATE,
    BLOCK_ACCESS_ALL_VIEW,
    BLOCK_ACCESS_ALL_MOVE,
    BLOCK_ACCESS_ALL_ENABLE,
    BLOCK_ACCESS_ALL_DISABLE,
    BLOCK_ACCESS_ALL_CONFIG,
    BLOCK_ACCESS_ALL_DELETE,
    BLOCK_ACCESS_ALL_CONFIG_LANG,
    BLOCK_ACCESS_ALL_CONFIG_SPEC,
    BLOCK_ACCESS_ALL_CONFIG_USER,
    BLOCK_ACCESS_ALL_CONFIG_ROLE,
    BLOCK_ACCESS_ALL_CONFIG_PAGE,
  );
}

API Navigation

  • Block Access 6.2
  • Functions
  • Files
  • Constants

Drupal is a registered trademark of Dries Buytaert. This site is not affiliated with Dries Buytaert, Drupal Association or Drupal.org.