In Grav admin, there is an event hook called onAdminSave, which is triggered when you save a page. Is there a similar hook for flex objects, that allows manipulation of flex objects before they are written to the filesystem?
Admin event hook when flex object is saved
128 Views Asked by Benni At
1
If you run
grep -roHE --include=*.php "fireEvent\('[^']+'"inside folder /user/plugins/flex-objects you will get the following named events:You also might want to take a look at this similar question on Grav's own forum: Admin Event Hook for Flex Object