You are here

public function FormState::isProgrammed in Drupal 9

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

Returns if this form was submitted programmatically.

Return value

bool If TRUE, the form was submitted programmatically.

Overrides FormStateInterface::isProgrammed

2 calls to FormState::isProgrammed()
FormState::getCacheableArray in core/lib/Drupal/Core/Form/FormState.php
Returns an array representation of the cacheable portion of the form state.
FormState::getRedirect in core/lib/Drupal/Core/Form/FormState.php
Gets the value to use for redirecting after the form has been executed.

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

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