You are here

function _content_access_get_node_permissions in Content Access 8

Same name and namespace in other branches
  1. 6 content_access.admin.inc \_content_access_get_node_permissions()
  2. 7 content_access.module \_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.module
Submit callback for the user permissions form.

File

./content_access.module, line 711
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)));
}