You are here

function hook_quail_api_permission in Quail API 7

Define user permissions associated with the quail api.

Normally other modules can implement their own hook_permission. However, in order to help improve organization of the permission page, this hook is provided so that all sub-modules may have their permissions appear under the parent group. This is provided for structural organizational purposes and its usage is not required.

See also

hook_permission()

File

./quail_api.api.php, line 25
Hooks provided by the quail api.

Code

function hook_quail_api_permission(&$permissions) {
  $permissions['utilize my quail api extension'] = array(
    'title' => t("Utilize my quail api extension"),
    'description' => t("Specify whether or not my quail api extension may be utilized by some user or role."),
  );
}