You are here

public function FormState::isBypassingProgrammedAccessChecks in Drupal 8

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

Determines if this form submission should bypass #access.

Return value

bool

Overrides FormStateInterface::isBypassingProgrammedAccessChecks

See also

\Drupal\Core\Form\FormState::$programmed_bypass_access_check

1 call to FormState::isBypassingProgrammedAccessChecks()
FormState::getCacheableArray in core/lib/Drupal/Core/Form/FormState.php
Returns an array representation of the cacheable portion of the form state.

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function isBypassingProgrammedAccessChecks() {
  return $this->programmed_bypass_access_check;
}