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 been input by the user executing the current request; this will cause #access to be respected as it would on a normal form submission. Defaults to TRUE.
Type: bool
File
- core/lib/Drupal/Core/Form/FormState.php, line 294
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\Form
Code
protected $programmed_bypass_access_check = TRUE;
Please login to continue.