FormState::$build_info
  • References/PHP/Drupal/Form/FormState

An associative array of information stored by Form API that is necessary to build and rebuild the form from cache when the original context may no longer be available:

2025-01-10 15:47:30
FormState::getButtons
  • References/PHP/Drupal/Form/FormState

public FormState::getButtons() Returns the

2025-01-10 15:47:30
FormState::setErrorByName
  • References/PHP/Drupal/Form/FormState

public FormState::setErrorByName($name, $message = '')

2025-01-10 15:47:30
FormState::setRedirect
  • References/PHP/Drupal/Form/FormState

public FormState::setRedirect($route_name, array $route_parameters = array(), array

2025-01-10 15:47:30
FormState::$limit_validation_errors
  • References/PHP/Drupal/Form/FormState

Stores which errors should be limited during validation. An array of "sections" within which user input must be valid. If the element is within

2025-01-10 15:47:30
FormState::$response
  • References/PHP/Drupal/Form/FormState

Used when a form needs to return some kind of a \Symfony\Component\HttpFoundation\Response object, e.g., a \Symfony\Component\HttpFoundation\BinaryFileResponse when triggering

2025-01-10 15:47:30
FormState::isSubmitted
  • References/PHP/Drupal/Form/FormState

public FormState::isSubmitted() Determines

2025-01-10 15:47:30
FormState::getError
  • References/PHP/Drupal/Form/FormState

public FormState::getError(array $element) Returns

2025-01-10 15:47:30
FormState::getTriggeringElement
  • References/PHP/Drupal/Form/FormState

public &FormState::getTriggeringElement() Gets

2025-01-10 15:47:30
FormState::$programmed_bypass_access_check
  • References/PHP/Drupal/Form/FormState

If TRUE, programmatic form submissions are processed without taking #access into account. Set this to FALSE when submitting a form programmatically with values that may have

2025-01-10 15:47:30