Search for values

  1. Search 7.x for values
  2. Search 8.9.x for values
  3. Search 10.3.x for values
  4. Search 11.x for values
  5. Other projects
Title Object type File name Summary
FieldItemListInterface::defaultValuesForm function core/lib/Drupal/Core/Field/FieldItemListInterface.php Returns a form for the default value input.
FieldItemListInterface::defaultValuesFormSubmit function core/lib/Drupal/Core/Field/FieldItemListInterface.php Processes the submitted default value.
FieldItemListInterface::defaultValuesFormValidate function core/lib/Drupal/Core/Field/FieldItemListInterface.php Validates the submitted default value.
FieldItemListTest::testDefaultValuesForm function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesForm
FieldItemListTest::testDefaultValuesFormSubmit function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesFormSubmit
FieldItemListTest::testDefaultValuesFormValidate function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::defaultValuesFormValidate
FieldItemNormalizer::normalizedFieldValues function core/modules/hal/src/Normalizer/FieldItemNormalizer.php Normalizes field values for an item.
FieldItemSerializationTest::$values property core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php The test values.
FieldItemSerializationTest::$values property core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php The test values.
FieldKernelTestBase::assertFieldValues function core/modules/field/tests/src/Kernel/FieldKernelTestBase.php Assert that a field has the expected values in an entity.
FieldKernelTestBase::_generateTestFieldValues function core/modules/field/tests/src/Kernel/FieldKernelTestBase.php Generate random values for a field_test field.
FieldLayoutEntityDisplayTest::assertEntityValues function core/modules/field_layout/tests/src/Kernel/FieldLayoutEntityDisplayTest.php Asserts than an entity has the correct values.
FieldPluginBase::getTokenValuesRecursive function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Recursive function to add replacements for nested query string parameters.
FieldTestBase::assertFieldValues function core/modules/field/tests/src/Functional/FieldTestBase.php Assert that a field has the expected values in an entity.
FieldTestBase::_generateTestFieldValues function core/modules/field/tests/src/Functional/FieldTestBase.php Generate random values for a field_test field.
FieldWidget::$multiple_values property core/lib/Drupal/Core/Field/Annotation/FieldWidget.php Does the field widget handles multiple values at once.
FileFieldItemList::defaultValuesForm function core/modules/file/src/Plugin/Field/FieldType/FileFieldItemList.php Returns a form for the default value input.
FileWidget::extractFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Extracts field values from submitted form values.
FileWidget::massageFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Massages the form values into the format expected for field values.
FilterDateTest::updateNodesDateFieldsValues function core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php Updates tests nodes date fields values.
FilterFormat::getPossibleValues function core/modules/filter/src/Plugin/DataType/FilterFormat.php Returns an array of possible values.
FilterFormat::getSettableValues function core/modules/filter/src/Plugin/DataType/FilterFormat.php Returns an array of settable values.
FilterHtml::prepareAttributeValues function core/modules/filter/src/Plugin/Filter/FilterHtml.php Helper function to prepare attribute values including wildcards.
FilterPluginBase::valueSubmit function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Perform any necessary changes to the form values prior to storage.
FormState::$values property core/lib/Drupal/Core/Form/FormState.php An associative array of values submitted to the form.
FormState::cleanValues function core/lib/Drupal/Core/Form/FormState.php Removes internal Form API elements and buttons from submitted form values.
FormState::getValues function core/lib/Drupal/Core/Form/FormState.php Implements \Drupal\Core\Form\FormStateInterface::getValues()
FormStateDecoratorBase::cleanValues function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Removes internal Form API elements and buttons from submitted form values.
FormStateDecoratorBase::getValues function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns the submitted and sanitized form values.
FormStateDecoratorBase::setValues function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the submitted form values.
FormStateDecoratorBaseTest::testCleanValues function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::cleanValues
FormStateDecoratorBaseTest::testGetValues function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getValues
FormStateDecoratorBaseTest::testSetValues function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setValues
FormStateInterface::cleanValues function core/lib/Drupal/Core/Form/FormStateInterface.php Removes internal Form API elements and buttons from submitted form values.
FormStateInterface::getValues function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the submitted and sanitized form values.
FormStateInterface::setValues function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the submitted form values.
FormStateTest::testCleanValues function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @depends testAddCleanValueKey
FormStateTest::testGetValues function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::setValues
@covers ::getValues
FormStateValuesTrait trait core/lib/Drupal/Core/Form/FormStateValuesTrait.php Provides methods to manage form state values.
FormStateValuesTrait.php file core/lib/Drupal/Core/Form/FormStateValuesTrait.php
FormStateValuesTrait::getValue function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::getValue()
FormStateValuesTrait::getValues function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::getValues()
FormStateValuesTrait::hasValue function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::hasValue()
FormStateValuesTrait::isValueEmpty function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::isValueEmpty()
FormStateValuesTrait::setValue function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::setValue()
FormStateValuesTrait::setValueForElement function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::setValueForElement()
FormStateValuesTrait::setValues function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::setValues()
FormStateValuesTrait::unsetValue function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::unsetValue()
FormStateValuesTraitStub class core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php
FormStateValuesTraitStub::$values property core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php The submitted form values.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.