function 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
FormState::getRedirect in core/lib/Drupal/Core/Form/FormState.php

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

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

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