FormInterface
submit(null|string|array $submittedData, bool $clearMissing = true)
Submits data to the button.
Parameters null|string|array $submittedData The submitted data bool $clearMissing Whether to set fields to NULL when they are missing in the submitted data. Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the button has already been submitted.