OnResourceUndelete
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: OnResourceUndelete¶
Fires immediately after a Resource is restored from the trash.
- Service: 1 - Parser Service Events
- Group: Resources
Event Parameters¶
| Name | Description |
|---|---|
| id | The ID of the restored Resource. |
| resource | A reference to the restored modResource object. |
Remarks¶
The event fires from three places:
- the Undelete processor (
Resource/Undelete), - restoring a Resource from the trash grid (
Resource/Trash/Restore), - the Resource update processor, when a deleted Resource is published again (
Resource/Update).
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










