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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Trigger tasks via a request in a plug-in

admin plugin plugins

Started by Peter 8 years ago · 0 replies · 584 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 Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 47 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 72 2 months ago