You are here

constant OG_CONTENT_ACCESS_PUBLIC in Organic groups 7

Same name and namespace in other branches
  1. 7.2 og_access/og_access.module \OG_CONTENT_ACCESS_PUBLIC

Define group content access public regardless of its group definition.

2 uses of OG_CONTENT_ACCESS_PUBLIC
OgAccessTestCase::testOgContentAccessNotDefault in og_access/og_access.test
Group with access field and group content with different definition from the group.
og_access_node_access_records in og_access/og_access.module
Implements hook_node_access_records().

File

og_access/og_access.module, line 32
Enable access control for private and public groups and group content.

Code

define('OG_CONTENT_ACCESS_PUBLIC', 1);