Symfony\Component\Form\Extension\Validator\Constraints\FormValidator::findClickedButton
Extracts a clicked button from a form tree, if one exists.
Signature
private function findClickedButton(FormInterface
$form )
Parameters
$form
— Symfony\Component\Form\FormInterface- The root form.
Returns
- ClickableInterface|null
- The clicked button or null.