class NonAbstractFormStateDecoratorBase in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\NonAbstractFormStateDecoratorBase
- 9 core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php \Drupal\Tests\Core\Form\NonAbstractFormStateDecoratorBase
Provides a non-abstract version of the class under test.
Hierarchy
- class \Drupal\Core\Form\FormStateDecoratorBase implements FormStateInterface
- class \Drupal\Tests\Core\Form\NonAbstractFormStateDecoratorBase
Expanded class hierarchy of NonAbstractFormStateDecoratorBase
File
- core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php, line 1543
Namespace
Drupal\Tests\Core\FormView source
class NonAbstractFormStateDecoratorBase extends FormStateDecoratorBase {
/**
* Creates a new instance.
*
* @param \Drupal\Core\Form\FormStateInterface $decorated_form_state
* The decorated form state.
*/
public function __construct(FormStateInterface $decorated_form_state) {
$this->decoratedFormState = $decorated_form_state;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FormStateDecoratorBase:: |
protected | property | The decorated form state. | |
FormStateDecoratorBase:: |
public | function |
Adds a value to the build info. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Adds a key to the array of form values that will be cleaned. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Adds a value to the rebuild info. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Removes internal Form API elements and buttons from submitted form values. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Clears all errors against all form elements made by self::setErrorByName(). Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Prevents the form from being cached. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Prevents the form from redirecting. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets any arbitrary property. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if this form should always be processed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the build info for the form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the submit and button elements for the form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns an array representation of the cacheable portion of the form state. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets the keys of the form values that will be cleaned. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns a reference to the complete form array. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the error message filed against the given form element. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns an associative array of all errors. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the form object that is responsible for building this form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns references to details elements to render them within vertical tabs. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Retrieves the limited validation error sections. Overrides FormStateInterface:: |
1 |
FormStateDecoratorBase:: |
public | function |
Gets the rebuild info. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets the value to use for redirecting after the form has been executed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets a response for this form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the entire set of arbitrary data. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets the submit handlers. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets temporary data. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets an arbitrary value from temporary storage. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets the form element that triggered submission. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the form values as they were submitted by the user. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Gets the validate handlers. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the submitted form value for a specific key. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the submitted and sanitized form values. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if an arbitrary property is present. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public static | function |
Determines if any forms have any errors. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns whether this form has a file element. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if the form has an invalid token. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if a temporary value is present. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if a specific key is present in the submitted form values. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if this form submission should bypass #access. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if the form should be cached. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if the form was submitted and has been processed and executed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns the HTTP form method. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if the form input will be processed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Returns if this form was submitted programmatically. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if the form should be rebuilt after processing. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if redirecting has been prevented. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if the form has been submitted. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if validation has been completed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Checks if validation is enforced. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Determines if a specific key has a value in the submitted form values. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Ensures an include file is loaded whenever the form is processed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Converts support notations for a form callback to a valid callable. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets a value to an arbitrary property. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets this form to always be processed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the build info for the form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Stores the submit and button elements for the form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets this form to be cached. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the keys of the form values that will be cleaned. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Stores the complete form array. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Flags an element as having an error. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Files an error against a form element. Overrides FormStateInterface:: |
1 |
FormStateDecoratorBase:: |
public | function |
Sets that the form was submitted and has been processed and executed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the form object that is responsible for building this form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the value of the form state. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets references to details elements to render them within vertical tabs. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets that this form has a file element. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Flags the form state as having or not an invalid token. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the limited validation error sections. Overrides FormStateInterface:: |
1 |
FormStateDecoratorBase:: |
public | function |
Sets the HTTP method to use for the form's submission. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets that the form should process input. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets that this form was submitted programmatically. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets if this form submission should bypass #access. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the form to be rebuilt after processing. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the rebuild info. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the redirect for the form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the redirect URL for the form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the HTTP method used by the request that is building the form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets a response for this form. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the entire set of arbitrary data. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the submit handlers. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets that the form has been submitted. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets temporary data. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets an arbitrary value in temporary storage. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the form element that triggered submission. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the form values as though they were submitted by a user. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the validate handlers. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets that validation has been completed. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Enforces that validation is run. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the submitted form value for a specific key. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Changes submitted form values during form validation. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Sets the submitted form values. Overrides FormStateInterface:: |
|
FormStateDecoratorBase:: |
public | function |
Removes a specific key from the submitted form values. Overrides FormStateInterface:: |
|
NonAbstractFormStateDecoratorBase:: |
public | function | Creates a new instance. |