You are here

constant OG_STATE_ACTIVE in Organic groups 7.2

Same name and namespace in other branches
  1. 7 og.module \OG_STATE_ACTIVE

Define active group content states.

When a user has this membership state they are considered to be of "member" role.

24 uses of OG_STATE_ACTIVE
generate-og-d7-content-update-7001.php in scripts/generate-og-d7-content-update-7001.php
MigrateDestinationOGMembership::import in includes/migrate/plugins/destinations/og_membership.inc
Import a single membership.
OgAccessModeratedGroup::testMemberShipRequestStatusWithState in og_access/og_access.test
Test that membership requests made via direct API calls that include membership state result in proper active status for private groups that require approval.
OgBehaviorHandlerTestCase::testSetStateOnInsert in ./og.test
Test settings the OG membership state via field values, when associating a new group-content to a group.
OgGroupAndUngroup::testGroupManagerNotActive in ./og.test
Test group behaviour when the group owner is not active.

... See full list

File

./og.module, line 17
Enable users to create and manage groups with roles and permissions.

Code

define('OG_STATE_ACTIVE', 1);