Search for values

  1. Search 7.x for values
  2. Search 9.5.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
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.
FormStateValuesTraitStub::getValues function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Implements \Drupal\Core\Form\FormStateInterface::getValues()
FormStateValuesTraitTest class core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @coversDefaultClass \Drupal\Core\Form\FormStateValuesTrait
FormStateValuesTraitTest.php file core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php
FormStateValuesTraitTest::providerGetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testGetValue().
FormStateValuesTraitTest::providerHasValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testHasValue().
FormStateValuesTraitTest::providerIsValueEmpty function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testIsValueEmpty().
FormStateValuesTraitTest::providerSetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testSetValue().
FormStateValuesTraitTest::testGetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::getValue
FormStateValuesTraitTest::testGetValueModifyReturn function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::getValue
FormStateValuesTraitTest::testHasValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::hasValue
FormStateValuesTraitTest::testIsValueEmpty function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::isValueEmpty
FormStateValuesTraitTest::testSetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::setValue
FormStateValuesTraitTest::testSetValueForElement function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Tests that setting the value for an element adds to the values.
FormTest::assertFormValuesDefault function core/modules/system/tests/src/Functional/Form/FormTest.php Assert that the values submitted to a form matches the default values of the elements.
FormTest::testFieldFormMultipleWidgetAlterSingleValues function core/modules/field/tests/src/Functional/FormTest.php Tests hook_field_widget_multivalue_form_alter() with single value elements.
FormTest::testFieldFormMultipleWidgetTypeAlterSingleValues function core/modules/field/tests/src/Functional/FormTest.php Tests hook_field_widget_multivalue_WIDGET_TYPE_form_alter() with single value elements.
FormTestFormStateValuesCleanAdvancedForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanAdvancedForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php
FormTestFormStateValuesCleanAdvancedForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form constructor.
FormTestFormStateValuesCleanAdvancedForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanAdvancedForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form submission handler.
FormTestFormStateValuesCleanForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php
FormTestFormStateValuesCleanForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form constructor.
FormTestFormStateValuesCleanForm::cleanValue function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Helper function to clean a value on an element.
FormTestFormStateValuesCleanForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form submission handler.
FormTestRebuildPreserveValuesForm class core/modules/system/tests/modules/form_test/src/Form/FormTestRebuildPreserveValuesForm.php Form builder for testing preservation of values during a rebuild.
FormTestRebuildPreserveValuesForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestRebuildPreserveValuesForm.php
FormTestRebuildPreserveValuesForm::addMoreSubmitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRebuildPreserveValuesForm.php
FormTestRebuildPreserveValuesForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRebuildPreserveValuesForm.php Form constructor.
FormTestRebuildPreserveValuesForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestRebuildPreserveValuesForm.php Returns a unique string identifying the form.
FormTestRebuildPreserveValuesForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestRebuildPreserveValuesForm.php Form submission handler.
FormValuesTest class core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php Tests that form values are properly delivered to AJAX callbacks.
FormValuesTest.php file core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php

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