You are here

function filter_perms_menu_alter in Filter Permissions 6

Same name and namespace in other branches
  1. 7 filter_perms.module \filter_perms_menu_alter()

Implementation of hook_menu_alter().

File

./filter_perms.module, line 13
This module adds a role and module filter to the user permissions page. Best used when you have an unruly amount of roles or permissions on your site and want to more efficiently manage them without loading a gigantic grid of checkboxes.

Code

function filter_perms_menu_alter(&$callbacks) {
  $callbacks['admin/user/permissions']['page callback'] = 'filter_perms_admin_perm';
}