constant OG_STATE_PENDING in Organic groups 7.2
Same name and namespace in other branches
- 7 og.module \OG_STATE_PENDING
Define pending group content states. The user is subscribed to the group but isn't an active member yet.
When a user has this membership state they are considered to be of "non-member" role.
18 uses of OG_STATE_PENDING
- 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.
- OgBehaviorHandlerTestCase::testSetStateOnInsert in ./
og.test - Test settings the OG membership state via field values, when associating a new group-content to a group.
- OgFieldWidgetTestCase::testUserEdit in ./
og.test - Test a non "administer group" user with pending membership, re-saving user edit.
- OgMigrate7000TestCase::testUser in ./
og.test - Test user upgrade.
File
- ./
og.module, line 26 - Enable users to create and manage groups with roles and permissions.
Code
define('OG_STATE_PENDING', 2);