Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Trigger tasks via a request in a plug-in

admin plugin plugins

Started by Peter 8 years ago · 0 replies · 848 views
8 years ago

I want to create a plug-in which can be triggered with a button in the backend (like clearing the cache). I took a look at the admin plug-in, but I couldn't figure out what parts it takes to create a task that can be run by a request. Can someone give me an idea, what parts I need to add to my plug-in to make it work?
Thanks in advance.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by complanar, 2 weeks ago
2 249 4 days ago
Plugins · by Vladimir Novak, 1 month ago
3 594 1 month ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 415 2 months ago
Plugins · by Slebeig, 2 months ago
1 529 2 months ago
Plugins · by Rene, 3 months ago
2 729 3 months ago