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 · 836 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, 5 days ago
0 117 5 days ago
Plugins · by Vladimir Novak, 1 month ago
3 581 1 month ago
Plugins · by Mathieu Lecouturier, 1 month ago
3 394 1 month ago
Plugins · by Slebeig, 2 months ago
1 509 2 months ago
Plugins · by Rene, 3 months ago
2 701 3 months ago