You are here

public function FormStateDecoratorBase::getTriggeringElement in Markdown 8.2

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

src/BcSupport/FormStateDecoratorBase.php, line 387

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\markdown\BcSupport

Code

public function &getTriggeringElement() {
  return $this->decoratedFormState
    ->getTriggeringElement();
}