I’ve created a custom module with it’s own settings page where the administrator can set certain parameters (radio buttons, input fields and dropdown).
I’m looking for a way to create a button in the form that will perform a custom function.
(Example: Like the ‘clear all caches’ button in the admin page.)
What’s the easiest or best way to create this?
Kind regards and thanks in advance!
Each different button on your form can perform a different function by assigning it the
#submitproperty:Only the specified submit function will run for each button click.