Context Per OG
Categories
Component ID
2209095
Component name
Context Per OG
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
1127
Component created
Component changed
Component body
This module creates one context per Organic Group.
- When a new Organic Group is created, a new context is created with a default "OG - group node context" condition set for the new group.
- When an Organic Group is deleted, the associated context is also deleted.
- All users are prevented from deleting the automatically-generated context by a simple modification to the context "confirm delete" form.
- An alter hook may be used to modify the default context that is created for each OG.
- The 'cpo-regenerate' command will automatically re-generate contexts for existing Organic Groups. This allows changes to OG contexts to be deployed programatically.
The development of this module was done as part of the U.S. Department of Justice justice.gov project.
