function public static function FormInterface::submitFormElement

8.x-3.x FormInterface.php public static FormInterface::submitFormElement(Element $form, FormStateInterface $form_state)

Form submission handler.

Parameters

\Drupal\bootstrap\Utility\Element $form: The Element object that comprises the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Class

FormInterface
Defines the interface for an object oriented form alter.

Namespace

Drupal\bootstrap\Plugin\Form

Source src/Plugin/Form/FormInterface.php (line 79)

public static function submitFormElement(Element $form, FormStateInterface $form_state);