Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

`afterAdminSave`

Started by Muut Archive 10 years ago · 3 replies · 408 views
10 years ago

I'm trying to create a content management plugin which would create a git commit after a grav admin save. Unfortunately, onAdminSave is fired before the actual save, which is not what I want.

I was thinking about adding a new event afterAdminSave which would be fired just after a succesful save(). If you think I could do something better, please point me in the right direction.

Thanks!

10 years ago

Actually we have plans to add this as well as some other admin events to make creating 3rd party plugins easier. Wouldn't hurt to create an issue though.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4064 9 years ago
Archive · by Muut Archive, 9 years ago
1 2951 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago