Provides methods to manage form state values.
Hierarchy
- trait \Drupal\Core\Form\FormStateValuesTrait
See also
\Drupal\Core\Form\FormStateInterface
Related topics
- Form generation
- Describes how to generate and manipulate forms and process form submissions.
File
- core/lib/Drupal/Core/Form/FormStateValuesTrait.php, line 14
Namespace
Drupal\Core\Form
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FormStateValuesTrait::getValue | public | function | Implements \Drupal\Core\Form\FormStateInterface::getValue() |
FormStateValuesTrait::getValues | abstract public | function | Implements \Drupal\Core\Form\FormStateInterface::getValues() |
FormStateValuesTrait::hasValue | public | function | Implements \Drupal\Core\Form\FormStateInterface::hasValue() |
FormStateValuesTrait::isValueEmpty | public | function | Implements \Drupal\Core\Form\FormStateInterface::isValueEmpty() |
FormStateValuesTrait::setValue | public | function | Implements \Drupal\Core\Form\FormStateInterface::setValue() |
FormStateValuesTrait::setValueForElement | public | function | Implements \Drupal\Core\Form\FormStateInterface::setValueForElement() |
FormStateValuesTrait::setValues | public | function | Implements \Drupal\Core\Form\FormStateInterface::setValues() |
FormStateValuesTrait::unsetValue | public | function | Implements \Drupal\Core\Form\FormStateInterface::unsetValue() |
Please login to continue.