You are here

function _content_access_get_node_permissions in Content Access 6

Same name and namespace in other branches
  1. 8 content_access.module \_content_access_get_node_permissions()
  2. 7 content_access.module \_content_access_get_node_permissions()
1 call to _content_access_get_node_permissions()
content_access_user_admin_perm_submit in ./content_access.admin.inc
Submit callback for the user permissions form. Trigger changes to node permissions to rebuild our grants.

File

./content_access.admin.inc, line 388
Content access administration UI.

Code

function _content_access_get_node_permissions($type) {
  return array_filter(array_map('content_access_get_permission_by_op', _content_access_get_operations(), array_fill(0, 6, $type)));
}