You are here

public function FormStateDecoratorBase::isProgrammed in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::isProgrammed()
  2. 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::isProgrammed()

Returns if this form was submitted programmatically.

Return value

bool If TRUE, the form was submitted programmatically.

Overrides FormStateInterface::isProgrammed

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 235

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

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