You are here

function node_accessibility_quail_api_permission_alter in Node Accessibility 7

Implements hook_quail_api_permission_alter().

File

./node_accessibility.module, line 24
Module file for the node accessibility project.

Code

function node_accessibility_quail_api_permission_alter(&$permissions) {
  if (!is_array($permissions)) {
    $permissions = array();
  }
  $permissions['access node accessibility tab'] = array(
    'title' => t("Access Node Accessibility Tab"),
    'description' => t("Grants permissions to access the accessibility tab on node pages."),
  );
  $permissions['perform node accessibility validation'] = array(
    'title' => t("Perform node accessibility validation"),
    'description' => t("Grants permissions to use the perform a manual validation of any given node."),
  );
}