function FormStateInterface::isProgrammed

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::isProgrammed()
  2. 8.9.x core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::isProgrammed()
  3. 10 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::isProgrammed()

Returns if this form was submitted programmatically.

Return value

bool If TRUE, the form was submitted programmatically.

2 methods override FormStateInterface::isProgrammed()
FormState::isProgrammed in core/lib/Drupal/Core/Form/FormState.php
Returns if this form was submitted programmatically.
FormStateDecoratorBase::isProgrammed in core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
Returns if this form was submitted programmatically.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 908

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function isProgrammed();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.