Form: add submit button¶
Add a submit button with a type and a label to a form.
The trigger name must be a machine name and is used for being identified on form submission. Example: accept, send. It can later be accessed via token [current_form:triggered].
The label of the button shown to the user.
Here you can select the type of the button from the list.
The lower the weight, the submit action appears before other submit actions having a higher weight.