FormState::getTriggeringElement

public function FormState::getTriggeringElement

public &FormState::getTriggeringElement()

Gets the form element that triggered submission.

Return value

array|null The form element that triggered submission, of NULL if there is none.

Overrides FormStateInterface::getTriggeringElement

File

core/lib/Drupal/Core/Form/FormState.php, line 817

Class

FormState<