You are here

public function SubFormState::isBypassingProgrammedAccessChecks in Authorization 8

Determines if this form submission should bypass #access.

Return value

bool

Overrides FormStateInterface::isBypassingProgrammedAccessChecks

See also

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

File

src/Form/SubFormState.php, line 672

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

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