FormState::$complete_form

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::complete_form
  2. 10 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::complete_form
  3. 11.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::complete_form

The complete form structure.

#process, #after_build, #element_validate, and other handlers being invoked on a form element may use this reference to access other information in the form the element is contained in.

Type: array

See also

self::getCompleteForm()

This property is uncacheable.

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

protected $complete_form;

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