public FormStateDecoratorBase::setProgrammedBypassAccessCheck($programmed_bypass_access_check = TRUE)
Sets if this form submission should bypass #access.
Parameters
bool $programmed_bypass_access_check: If TRUE, programmatic form submissions are processed without taking #access into account.
Return value
$this
Overrides FormStateInterface::setProgrammedBypassAccessCheck
See also
\Drupal\Core\Form\FormState::$programmed_bypass_access_check
File
- core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 242
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\Form
Code
public function setProgrammedBypassAccessCheck($programmed_bypass_access_check = TRUE) { $this->decoratedFormState->setProgrammedBypassAccessCheck($programmed_bypass_access_check); return $this; }
Please login to continue.