class FormStateDecoratorBase
Same name in other branches
- 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase
- 10 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase
- 11.x core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase
Decorates another form state.
Hierarchy
- class \Drupal\Core\Form\FormStateDecoratorBase implements \Drupal\Core\Form\FormStateInterface
Expanded class hierarchy of FormStateDecoratorBase
1 file declares its use of FormStateDecoratorBase
- FormStateDecoratorBaseTest.php in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php
File
-
core/
lib/ Drupal/ Core/ Form/ FormStateDecoratorBase.php, line 11
Namespace
Drupal\Core\FormView source
abstract class FormStateDecoratorBase implements FormStateInterface {
/**
* The decorated form state.
*
* @var \Drupal\Core\Form\FormStateInterface
*/
protected $decoratedFormState;
/**
* {@inheritdoc}
*/
public function setFormState(array $form_state_additions) {
$this->decoratedFormState
->setFormState($form_state_additions);
return $this;
}
/**
* {@inheritdoc}
*/
public function setAlwaysProcess($always_process = TRUE) {
$this->decoratedFormState
->setAlwaysProcess($always_process);
return $this;
}
/**
* {@inheritdoc}
*/
public function getAlwaysProcess() {
return $this->decoratedFormState
->getAlwaysProcess();
}
/**
* {@inheritdoc}
*/
public function setButtons(array $buttons) {
$this->decoratedFormState
->setButtons($buttons);
return $this;
}
/**
* {@inheritdoc}
*/
public function getButtons() {
return $this->decoratedFormState
->getButtons();
}
/**
* {@inheritdoc}
*/
public function setCached($cache = TRUE) {
$this->decoratedFormState
->setCached($cache);
return $this;
}
/**
* {@inheritdoc}
*/
public function isCached() {
return $this->decoratedFormState
->isCached();
}
/**
* {@inheritdoc}
*/
public function disableCache() {
$this->decoratedFormState
->disableCache();
return $this;
}
/**
* {@inheritdoc}
*/
public function setExecuted() {
$this->decoratedFormState
->setExecuted();
return $this;
}
/**
* {@inheritdoc}
*/
public function isExecuted() {
return $this->decoratedFormState
->isExecuted();
}
/**
* {@inheritdoc}
*/
public function setGroups(array $groups) {
$this->decoratedFormState
->setGroups($groups);
return $this;
}
/**
* {@inheritdoc}
*/
public function &getGroups() {
return $this->decoratedFormState
->getGroups();
}
/**
* {@inheritdoc}
*/
public function setHasFileElement($has_file_element = TRUE) {
$this->decoratedFormState
->setHasFileElement($has_file_element);
return $this;
}
/**
* {@inheritdoc}
*/
public function hasFileElement() {
return $this->decoratedFormState
->hasFileElement();
}
/**
* {@inheritdoc}
*/
public function setLimitValidationErrors($limit_validation_errors) {
$this->decoratedFormState
->setLimitValidationErrors($limit_validation_errors);
return $this;
}
/**
* {@inheritdoc}
*/
public function getLimitValidationErrors() {
return $this->decoratedFormState
->getLimitValidationErrors();
}
/**
* {@inheritdoc}
*/
public function setMethod($method) {
$this->decoratedFormState
->setMethod($method);
return $this;
}
/**
* {@inheritdoc}
*/
public function isMethodType($method_type) {
return $this->decoratedFormState
->isMethodType($method_type);
}
/**
* {@inheritdoc}
*/
public function setRequestMethod($method) {
$this->decoratedFormState
->setRequestMethod($method);
return $this;
}
/**
* {@inheritdoc}
*/
public function setValidationEnforced($must_validate = TRUE) {
$this->decoratedFormState
->setValidationEnforced($must_validate);
return $this;
}
/**
* {@inheritdoc}
*/
public function isValidationEnforced() {
return $this->decoratedFormState
->isValidationEnforced();
}
/**
* {@inheritdoc}
*/
public function disableRedirect($no_redirect = TRUE) {
$this->decoratedFormState
->disableRedirect($no_redirect);
return $this;
}
/**
* {@inheritdoc}
*/
public function isRedirectDisabled() {
return $this->decoratedFormState
->isRedirectDisabled();
}
/**
* {@inheritdoc}
*/
public function setProcessInput($process_input = TRUE) {
$this->decoratedFormState
->setProcessInput($process_input);
return $this;
}
/**
* {@inheritdoc}
*/
public function isProcessingInput() {
return $this->decoratedFormState
->isProcessingInput();
}
/**
* {@inheritdoc}
*/
public function setProgrammed($programmed = TRUE) {
$this->decoratedFormState
->setProgrammed($programmed);
return $this;
}
/**
* {@inheritdoc}
*/
public function isProgrammed() {
return $this->decoratedFormState
->isProgrammed();
}
/**
* {@inheritdoc}
*/
public function setProgrammedBypassAccessCheck($programmed_bypass_access_check = TRUE) {
$this->decoratedFormState
->setProgrammedBypassAccessCheck($programmed_bypass_access_check);
return $this;
}
/**
* {@inheritdoc}
*/
public function isBypassingProgrammedAccessChecks() {
return $this->decoratedFormState
->isBypassingProgrammedAccessChecks();
}
/**
* {@inheritdoc}
*/
public function setRebuildInfo(array $rebuild_info) {
$this->decoratedFormState
->setRebuildInfo($rebuild_info);
return $this;
}
/**
* {@inheritdoc}
*/
public function getRebuildInfo() {
return $this->decoratedFormState
->getRebuildInfo();
}
/**
* {@inheritdoc}
*/
public function addRebuildInfo($property, $value) {
$this->decoratedFormState
->addRebuildInfo($property, $value);
return $this;
}
/**
* {@inheritdoc}
*/
public function setStorage(array $storage) {
$this->decoratedFormState
->setStorage($storage);
return $this;
}
/**
* {@inheritdoc}
*/
public function &getStorage() {
return $this->decoratedFormState
->getStorage();
}
/**
* {@inheritdoc}
*/
public function setSubmitHandlers(array $submit_handlers) {
$this->decoratedFormState
->setSubmitHandlers($submit_handlers);
return $this;
}
/**
* {@inheritdoc}
*/
public function getSubmitHandlers() {
return $this->decoratedFormState
->getSubmitHandlers();
}
/**
* {@inheritdoc}
*/
public function setSubmitted() {
$this->decoratedFormState
->setSubmitted();
return $this;
}
/**
* {@inheritdoc}
*/
public function isSubmitted() {
return $this->decoratedFormState
->isSubmitted();
}
/**
* {@inheritdoc}
*/
public function setTemporary(array $temporary) {
$this->decoratedFormState
->setTemporary($temporary);
return $this;
}
/**
* {@inheritdoc}
*/
public function getTemporary() {
return $this->decoratedFormState
->getTemporary();
}
/**
* {@inheritdoc}
*/
public function &getTemporaryValue($key) {
return $this->decoratedFormState
->getTemporaryValue($key);
}
/**
* {@inheritdoc}
*/
public function setTemporaryValue($key, $value) {
$this->decoratedFormState
->setTemporaryValue($key, $value);
return $this;
}
/**
* {@inheritdoc}
*/
public function hasTemporaryValue($key) {
return $this->decoratedFormState
->hasTemporaryValue($key);
}
/**
* {@inheritdoc}
*/
public function setTriggeringElement($triggering_element) {
$this->decoratedFormState
->setTriggeringElement($triggering_element);
return $this;
}
/**
* {@inheritdoc}
*/
public function &getTriggeringElement() {
return $this->decoratedFormState
->getTriggeringElement();
}
/**
* {@inheritdoc}
*/
public function setValidateHandlers(array $validate_handlers) {
$this->decoratedFormState
->setValidateHandlers($validate_handlers);
return $this;
}
/**
* {@inheritdoc}
*/
public function getValidateHandlers() {
return $this->decoratedFormState
->getValidateHandlers();
}
/**
* {@inheritdoc}
*/
public function setValidationComplete($validation_complete = TRUE) {
$this->decoratedFormState
->setValidationComplete($validation_complete);
return $this;
}
/**
* {@inheritdoc}
*/
public function isValidationComplete() {
return $this->decoratedFormState
->isValidationComplete();
}
/**
* {@inheritdoc}
*/
public function loadInclude($module, $type, $name = NULL) {
return $this->decoratedFormState
->loadInclude($module, $type, $name);
}
/**
* {@inheritdoc}
*/
public function getCacheableArray() {
return $this->decoratedFormState
->getCacheableArray();
}
/**
* {@inheritdoc}
*/
public function setCompleteForm(array &$complete_form) {
$this->decoratedFormState
->setCompleteForm($complete_form);
return $this;
}
/**
* {@inheritdoc}
*/
public function &getCompleteForm() {
return $this->decoratedFormState
->getCompleteForm();
}
/**
* {@inheritdoc}
*/
public function &get($property) {
return $this->decoratedFormState
->get($property);
}
/**
* {@inheritdoc}
*/
public function set($property, $value) {
$this->decoratedFormState
->set($property, $value);
return $this;
}
/**
* {@inheritdoc}
*/
public function has($property) {
return $this->decoratedFormState
->has($property);
}
/**
* {@inheritdoc}
*/
public function setBuildInfo(array $build_info) {
$this->decoratedFormState
->setBuildInfo($build_info);
return $this;
}
/**
* {@inheritdoc}
*/
public function getBuildInfo() {
return $this->decoratedFormState
->getBuildInfo();
}
/**
* {@inheritdoc}
*/
public function addBuildInfo($property, $value) {
$this->decoratedFormState
->addBuildInfo($property, $value);
return $this;
}
/**
* {@inheritdoc}
*/
public function &getUserInput() {
return $this->decoratedFormState
->getUserInput();
}
/**
* {@inheritdoc}
*/
public function setUserInput(array $user_input) {
$this->decoratedFormState
->setUserInput($user_input);
return $this;
}
/**
* {@inheritdoc}
*/
public function &getValues() {
return $this->decoratedFormState
->getValues();
}
/**
* {@inheritdoc}
*/
public function &getValue($key, $default = NULL) {
return $this->decoratedFormState
->getValue($key, $default);
}
/**
* {@inheritdoc}
*/
public function setValues(array $values) {
$this->decoratedFormState
->setValues($values);
return $this;
}
/**
* {@inheritdoc}
*/
public function setValue($key, $value) {
$this->decoratedFormState
->setValue($key, $value);
return $this;
}
/**
* {@inheritdoc}
*/
public function unsetValue($key) {
$this->decoratedFormState
->unsetValue($key);
return $this;
}
/**
* {@inheritdoc}
*/
public function hasValue($key) {
return $this->decoratedFormState
->hasValue($key);
}
/**
* {@inheritdoc}
*/
public function isValueEmpty($key) {
return $this->decoratedFormState
->isValueEmpty($key);
}
/**
* {@inheritdoc}
*/
public function setValueForElement(array $element, $value) {
$this->decoratedFormState
->setValueForElement($element, $value);
return $this;
}
/**
* {@inheritdoc}
*/
public function setResponse(Response $response) {
$this->decoratedFormState
->setResponse($response);
return $this;
}
/**
* {@inheritdoc}
*/
public function getResponse() {
return $this->decoratedFormState
->getResponse();
}
/**
* {@inheritdoc}
*/
public function setRedirect($route_name, array $route_parameters = [], array $options = []) {
$this->decoratedFormState
->setRedirect($route_name, $route_parameters, $options);
return $this;
}
/**
* {@inheritdoc}
*/
public function setRedirectUrl(Url $url) {
$this->decoratedFormState
->setRedirectUrl($url);
return $this;
}
/**
* {@inheritdoc}
*/
public function getRedirect() {
return $this->decoratedFormState
->getRedirect();
}
/**
* {@inheritdoc}
*/
public static function hasAnyErrors() {
return FormState::hasAnyErrors();
}
/**
* {@inheritdoc}
*/
public function setErrorByName($name, $message = '') {
$this->decoratedFormState
->setErrorByName($name, $message);
return $this;
}
/**
* {@inheritdoc}
*/
public function setError(array &$element, $message = '') {
$this->decoratedFormState
->setError($element, $message);
return $this;
}
/**
* {@inheritdoc}
*/
public function clearErrors() {
$this->decoratedFormState
->clearErrors();
}
/**
* {@inheritdoc}
*/
public function getError(array $element) {
return $this->decoratedFormState
->getError($element);
}
/**
* {@inheritdoc}
*/
public function getErrors() {
return $this->decoratedFormState
->getErrors();
}
/**
* {@inheritdoc}
*/
public function setRebuild($rebuild = TRUE) {
$this->decoratedFormState
->setRebuild($rebuild);
return $this;
}
/**
* {@inheritdoc}
*/
public function isRebuilding() {
return $this->decoratedFormState
->isRebuilding();
}
/**
* {@inheritdoc}
*/
public function setInvalidToken($invalid_token) {
$this->decoratedFormState
->setInvalidToken($invalid_token);
return $this;
}
/**
* {@inheritdoc}
*/
public function hasInvalidToken() {
return $this->decoratedFormState
->hasInvalidToken();
}
/**
* {@inheritdoc}
*/
public function prepareCallback($callback) {
return $this->decoratedFormState
->prepareCallback($callback);
}
/**
* {@inheritdoc}
*/
public function setFormObject(FormInterface $form_object) {
$this->decoratedFormState
->setFormObject($form_object);
return $this;
}
/**
* {@inheritdoc}
*/
public function getFormObject() {
return $this->decoratedFormState
->getFormObject();
}
/**
* {@inheritdoc}
*/
public function getCleanValueKeys() {
return $this->decoratedFormState
->getCleanValueKeys();
}
/**
* {@inheritdoc}
*/
public function setCleanValueKeys(array $cleanValueKeys) {
$this->decoratedFormState
->setCleanValueKeys($cleanValueKeys);
return $this;
}
/**
* {@inheritdoc}
*/
public function addCleanValueKey($cleanValueKey) {
$this->decoratedFormState
->addCleanValueKey($cleanValueKey);
return $this;
}
/**
* {@inheritdoc}
*/
public function cleanValues() {
$this->decoratedFormState
->cleanValues();
return $this;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
FormStateDecoratorBase::$decoratedFormState | protected | property | The decorated form state. | ||
FormStateDecoratorBase::addBuildInfo | public | function | Adds a value to the build info. | Overrides FormStateInterface::addBuildInfo | |
FormStateDecoratorBase::addCleanValueKey | public | function | Adds a key to the array of form values that will be cleaned. | Overrides FormStateInterface::addCleanValueKey | |
FormStateDecoratorBase::addRebuildInfo | public | function | Adds a value to the rebuild info. | Overrides FormStateInterface::addRebuildInfo | |
FormStateDecoratorBase::cleanValues | public | function | Removes internal Form API elements and buttons from submitted form values. | Overrides FormStateInterface::cleanValues | |
FormStateDecoratorBase::clearErrors | public | function | Clears all errors against all form elements made by self::setErrorByName(). | Overrides FormStateInterface::clearErrors | |
FormStateDecoratorBase::disableCache | public | function | Prevents the form from being cached. | Overrides FormStateInterface::disableCache | |
FormStateDecoratorBase::disableRedirect | public | function | Prevents the form from redirecting. | Overrides FormStateInterface::disableRedirect | |
FormStateDecoratorBase::get | public | function | Gets any arbitrary property. | Overrides FormStateInterface::get | |
FormStateDecoratorBase::getAlwaysProcess | public | function | Determines if this form should always be processed. | Overrides FormStateInterface::getAlwaysProcess | |
FormStateDecoratorBase::getBuildInfo | public | function | Returns the build info for the form. | Overrides FormStateInterface::getBuildInfo | |
FormStateDecoratorBase::getButtons | public | function | Returns the submit and button elements for the form. | Overrides FormStateInterface::getButtons | |
FormStateDecoratorBase::getCacheableArray | public | function | Returns an array representation of the cacheable portion of the form state. | Overrides FormStateInterface::getCacheableArray | |
FormStateDecoratorBase::getCleanValueKeys | public | function | Gets the keys of the form values that will be cleaned. | Overrides FormStateInterface::getCleanValueKeys | |
FormStateDecoratorBase::getCompleteForm | public | function | Returns a reference to the complete form array. | Overrides FormStateInterface::getCompleteForm | |
FormStateDecoratorBase::getError | public | function | Returns the error message filed against the given form element. | Overrides FormStateInterface::getError | |
FormStateDecoratorBase::getErrors | public | function | Returns an associative array of all errors. | Overrides FormStateInterface::getErrors | |
FormStateDecoratorBase::getFormObject | public | function | Returns the form object that is responsible for building this form. | Overrides FormStateInterface::getFormObject | |
FormStateDecoratorBase::getGroups | public | function | Returns references to details elements to render them within vertical tabs. | Overrides FormStateInterface::getGroups | |
FormStateDecoratorBase::getLimitValidationErrors | public | function | Retrieves the limited validation error sections. | Overrides FormStateInterface::getLimitValidationErrors | 1 |
FormStateDecoratorBase::getRebuildInfo | public | function | Gets the rebuild info. | Overrides FormStateInterface::getRebuildInfo | |
FormStateDecoratorBase::getRedirect | public | function | Gets the value to use for redirecting after the form has been executed. | Overrides FormStateInterface::getRedirect | |
FormStateDecoratorBase::getResponse | public | function | Gets a response for this form. | Overrides FormStateInterface::getResponse | |
FormStateDecoratorBase::getStorage | public | function | Returns the entire set of arbitrary data. | Overrides FormStateInterface::getStorage | |
FormStateDecoratorBase::getSubmitHandlers | public | function | Gets the submit handlers. | Overrides FormStateInterface::getSubmitHandlers | |
FormStateDecoratorBase::getTemporary | public | function | Gets temporary data. | Overrides FormStateInterface::getTemporary | |
FormStateDecoratorBase::getTemporaryValue | public | function | Gets an arbitrary value from temporary storage. | Overrides FormStateInterface::getTemporaryValue | |
FormStateDecoratorBase::getTriggeringElement | public | function | Gets the form element that triggered submission. | Overrides FormStateInterface::getTriggeringElement | |
FormStateDecoratorBase::getUserInput | public | function | Returns the form values as they were submitted by the user. | Overrides FormStateInterface::getUserInput | |
FormStateDecoratorBase::getValidateHandlers | public | function | Gets the validate handlers. | Overrides FormStateInterface::getValidateHandlers | |
FormStateDecoratorBase::getValue | public | function | Returns the submitted form value for a specific key. | Overrides FormStateInterface::getValue | |
FormStateDecoratorBase::getValues | public | function | Returns the submitted and sanitized form values. | Overrides FormStateInterface::getValues | |
FormStateDecoratorBase::has | public | function | Determines if an arbitrary property is present. | Overrides FormStateInterface::has | |
FormStateDecoratorBase::hasAnyErrors | public static | function | Determines if any forms have any errors. | Overrides FormStateInterface::hasAnyErrors | |
FormStateDecoratorBase::hasFileElement | public | function | Returns whether this form has a file element. | Overrides FormStateInterface::hasFileElement | |
FormStateDecoratorBase::hasInvalidToken | public | function | Determines if the form has an invalid token. | Overrides FormStateInterface::hasInvalidToken | |
FormStateDecoratorBase::hasTemporaryValue | public | function | Determines if a temporary value is present. | Overrides FormStateInterface::hasTemporaryValue | |
FormStateDecoratorBase::hasValue | public | function | Determines if a specific key is present in the submitted form values. | Overrides FormStateInterface::hasValue | |
FormStateDecoratorBase::isBypassingProgrammedAccessChecks | public | function | Determines if this form submission should bypass #access. | Overrides FormStateInterface::isBypassingProgrammedAccessChecks | |
FormStateDecoratorBase::isCached | public | function | Determines if the form should be cached. | Overrides FormStateInterface::isCached | |
FormStateDecoratorBase::isExecuted | public | function | Determines if the form was submitted and has been processed and executed. | Overrides FormStateInterface::isExecuted | |
FormStateDecoratorBase::isMethodType | public | function | Returns the HTTP form method. | Overrides FormStateInterface::isMethodType | |
FormStateDecoratorBase::isProcessingInput | public | function | Determines if the form input will be processed. | Overrides FormStateInterface::isProcessingInput | |
FormStateDecoratorBase::isProgrammed | public | function | Returns if this form was submitted programmatically. | Overrides FormStateInterface::isProgrammed | |
FormStateDecoratorBase::isRebuilding | public | function | Determines if the form should be rebuilt after processing. | Overrides FormStateInterface::isRebuilding | |
FormStateDecoratorBase::isRedirectDisabled | public | function | Determines if redirecting has been prevented. | Overrides FormStateInterface::isRedirectDisabled | |
FormStateDecoratorBase::isSubmitted | public | function | Determines if the form has been submitted. | Overrides FormStateInterface::isSubmitted | |
FormStateDecoratorBase::isValidationComplete | public | function | Determines if validation has been completed. | Overrides FormStateInterface::isValidationComplete | |
FormStateDecoratorBase::isValidationEnforced | public | function | Checks if validation is enforced. | Overrides FormStateInterface::isValidationEnforced | |
FormStateDecoratorBase::isValueEmpty | public | function | Determines if a specific key has a value in the submitted form values. | Overrides FormStateInterface::isValueEmpty | |
FormStateDecoratorBase::loadInclude | public | function | Ensures an include file is loaded whenever the form is processed. | Overrides FormStateInterface::loadInclude | |
FormStateDecoratorBase::prepareCallback | public | function | Converts support notations for a form callback to a valid callable. | Overrides FormStateInterface::prepareCallback | |
FormStateDecoratorBase::set | public | function | Sets a value to an arbitrary property. | Overrides FormStateInterface::set | |
FormStateDecoratorBase::setAlwaysProcess | public | function | Sets this form to always be processed. | Overrides FormStateInterface::setAlwaysProcess | |
FormStateDecoratorBase::setBuildInfo | public | function | Sets the build info for the form. | Overrides FormStateInterface::setBuildInfo | |
FormStateDecoratorBase::setButtons | public | function | Stores the submit and button elements for the form. | Overrides FormStateInterface::setButtons | |
FormStateDecoratorBase::setCached | public | function | Sets this form to be cached. | Overrides FormStateInterface::setCached | |
FormStateDecoratorBase::setCleanValueKeys | public | function | Sets the keys of the form values that will be cleaned. | Overrides FormStateInterface::setCleanValueKeys | |
FormStateDecoratorBase::setCompleteForm | public | function | Stores the complete form array. | Overrides FormStateInterface::setCompleteForm | |
FormStateDecoratorBase::setError | public | function | Flags an element as having an error. | Overrides FormStateInterface::setError | |
FormStateDecoratorBase::setErrorByName | public | function | Files an error against a form element. | Overrides FormStateInterface::setErrorByName | 1 |
FormStateDecoratorBase::setExecuted | public | function | Sets that the form was submitted and has been processed and executed. | Overrides FormStateInterface::setExecuted | |
FormStateDecoratorBase::setFormObject | public | function | Sets the form object that is responsible for building this form. | Overrides FormStateInterface::setFormObject | |
FormStateDecoratorBase::setFormState | public | function | Sets the value of the form state. | Overrides FormStateInterface::setFormState | |
FormStateDecoratorBase::setGroups | public | function | Sets references to details elements to render them within vertical tabs. | Overrides FormStateInterface::setGroups | |
FormStateDecoratorBase::setHasFileElement | public | function | Sets that this form has a file element. | Overrides FormStateInterface::setHasFileElement | |
FormStateDecoratorBase::setInvalidToken | public | function | Flags the form state as having or not an invalid token. | Overrides FormStateInterface::setInvalidToken | |
FormStateDecoratorBase::setLimitValidationErrors | public | function | Sets the limited validation error sections. | Overrides FormStateInterface::setLimitValidationErrors | 1 |
FormStateDecoratorBase::setMethod | public | function | Sets the HTTP method to use for the form's submission. | Overrides FormStateInterface::setMethod | |
FormStateDecoratorBase::setProcessInput | public | function | Sets that the form should process input. | Overrides FormStateInterface::setProcessInput | |
FormStateDecoratorBase::setProgrammed | public | function | Sets that this form was submitted programmatically. | Overrides FormStateInterface::setProgrammed | |
FormStateDecoratorBase::setProgrammedBypassAccessCheck | public | function | Sets if this form submission should bypass #access. | Overrides FormStateInterface::setProgrammedBypassAccessCheck | |
FormStateDecoratorBase::setRebuild | public | function | Sets the form to be rebuilt after processing. | Overrides FormStateInterface::setRebuild | |
FormStateDecoratorBase::setRebuildInfo | public | function | Sets the rebuild info. | Overrides FormStateInterface::setRebuildInfo | |
FormStateDecoratorBase::setRedirect | public | function | Sets the redirect for the form. | Overrides FormStateInterface::setRedirect | |
FormStateDecoratorBase::setRedirectUrl | public | function | Sets the redirect URL for the form. | Overrides FormStateInterface::setRedirectUrl | |
FormStateDecoratorBase::setRequestMethod | public | function | Sets the HTTP method used by the request that is building the form. | Overrides FormStateInterface::setRequestMethod | |
FormStateDecoratorBase::setResponse | public | function | Sets a response for this form. | Overrides FormStateInterface::setResponse | |
FormStateDecoratorBase::setStorage | public | function | Sets the entire set of arbitrary data. | Overrides FormStateInterface::setStorage | |
FormStateDecoratorBase::setSubmitHandlers | public | function | Sets the submit handlers. | Overrides FormStateInterface::setSubmitHandlers | |
FormStateDecoratorBase::setSubmitted | public | function | Sets that the form has been submitted. | Overrides FormStateInterface::setSubmitted | |
FormStateDecoratorBase::setTemporary | public | function | Sets temporary data. | Overrides FormStateInterface::setTemporary | |
FormStateDecoratorBase::setTemporaryValue | public | function | Sets an arbitrary value in temporary storage. | Overrides FormStateInterface::setTemporaryValue | |
FormStateDecoratorBase::setTriggeringElement | public | function | Sets the form element that triggered submission. | Overrides FormStateInterface::setTriggeringElement | |
FormStateDecoratorBase::setUserInput | public | function | Sets the form values as though they were submitted by a user. | Overrides FormStateInterface::setUserInput | |
FormStateDecoratorBase::setValidateHandlers | public | function | Sets the validate handlers. | Overrides FormStateInterface::setValidateHandlers | |
FormStateDecoratorBase::setValidationComplete | public | function | Sets that validation has been completed. | Overrides FormStateInterface::setValidationComplete | |
FormStateDecoratorBase::setValidationEnforced | public | function | Enforces that validation is run. | Overrides FormStateInterface::setValidationEnforced | |
FormStateDecoratorBase::setValue | public | function | Sets the submitted form value for a specific key. | Overrides FormStateInterface::setValue | |
FormStateDecoratorBase::setValueForElement | public | function | Changes submitted form values during form validation. | Overrides FormStateInterface::setValueForElement | |
FormStateDecoratorBase::setValues | public | function | Sets the submitted form values. | Overrides FormStateInterface::setValues | |
FormStateDecoratorBase::unsetValue | public | function | Removes a specific key from the submitted form values. | Overrides FormStateInterface::unsetValue |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.