You are here

function _content_access_get_node_permissions in Content Access 7

Same name and namespace in other branches
  1. 8 content_access.module \_content_access_get_node_permissions()
  2. 6 content_access.admin.inc \_content_access_get_node_permissions()

Gets node's access 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.module, line 646
Content access module file.

Code

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