Search for values

  1. Search 7.x for values
  2. Search 9.5.x for values
  3. Search 8.9.x for values
  4. Search 10.3.x for values
  5. Other projects
Title Object type File name Summary
EntityReferenceItem::getPossibleValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of possible values.
EntityReferenceItem::getSettableValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Returns an array of settable values.
EntityRevisionTest::testGetEntityDestinationValues function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Tests that passed old destination values are used by default.
EntityRevisionTranslationTest::testTranslationValuesWhenSavingPendingRevisions function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests the translation values when saving a pending revision.
EntitySerializationTest::$values property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php The test values.
EntityUnitTest::$values property core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php The entity values.
FieldableEntity::getFieldValues function core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php Retrieves field values for a single field of a single entity.
FieldAttachOtherTest::testEntityFormDisplayExtractFormValues function core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php Tests \Drupal\Core\Entity\Display\EntityFormDisplayInterface::extractFormValues().
FieldConfigEditForm::copyFormValuesToEntity function core/modules/field_ui/src/Form/FieldConfigEditForm.php Copies top-level form values to entity properties.
FieldConfigValidationTest::testRequiredPropertyValuesMissing function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php A property that is required must have a value (i.e. not NULL).
FieldItemList::defaultValuesForm function core/lib/Drupal/Core/Field/FieldItemList.php Returns a form for the default value input.
FieldItemList::defaultValuesFormSubmit function core/lib/Drupal/Core/Field/FieldItemList.php Processes the submitted default value.
FieldItemList::defaultValuesFormValidate function core/lib/Drupal/Core/Field/FieldItemList.php Validates the submitted default value.
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
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.

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