Created
August 5, 2014 13:28
-
-
Save raygesualdo/060de9c4891fdcf412fd to your computer and use it in GitHub Desktop.
Modify Submission Hook for Statamic's Raven
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| |-------------------------------------------------------------------------- | |
| | Hook: Modify Submission | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Allow submission modification by other add-ons with the ability to manipulate | |
| | content of the submission. Has access to the success and config. | |
| | | |
| */ | |
| $submission = Hook::run('raven', 'modify_submission', 'replace', $submission, compact('submission', 'config', 'success')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment