OnUserGroupBeforeFormSave
Last updated not available | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn moreEvent: OnUserGroupBeforeFormSave¶
Fires before a User Group is saved through the Create User Group and Update User Group processors in the Manager.
- Service: 1 - Parser Service Events
- Group: User Groups
Event Parameters¶
| Name | Description |
|---|---|
| mode | modSystemEvent::MODE_NEW when creating a User Group, or modSystemEvent::MODE_UPD when updating one. |
| data | An array of the submitted User Group field values. |
| id | The ID of the User Group, or 0 when creating a new User Group. |
| user_group | A reference to the modUserGroup object. |
| object | The same modUserGroup object as user_group. |
A non-empty message from the Plugin prevents the User Group from being saved.
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










