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. Search 11.x for values
  6. Other projects
Title Object type File name Summary
OptionsAllowedValuesInterface.php file core/modules/options/src/OptionsAllowedValuesInterface.php
OptionsAllowedValuesInterface::getAllowedValues function core/modules/options/src/OptionsAllowedValuesInterface.php Returns the array of allowed values for a list field.
OptionsAllowedValuesTest class core/modules/options/tests/src/Kernel/OptionsAllowedValuesTest.php Tests the caching of options allowed values.
OptionsAllowedValuesTest.php file core/modules/options/tests/src/Kernel/OptionsAllowedValuesTest.php
OptionsAllowedValuesTest::testCachedPerField function core/modules/options/tests/src/Kernel/OptionsAllowedValuesTest.php Tests that each field is cached in its own item with its own cache tags.
OptionsAllowedValuesTest::testSubmitFieldStorageUpdate function core/modules/options/tests/src/Kernel/OptionsAllowedValuesTest.php Tests that the field storage form submit resets the cached values.
OptionsDynamicValuesApiTest class core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php Tests the options allowed values api.
OptionsDynamicValuesApiTest.php file core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php
OptionsDynamicValuesApiTest::$entity property core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php The created entity.
OptionsDynamicValuesApiTest::$modules property core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php Modules to install.
OptionsDynamicValuesApiTest::setUp function core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php Set the default field storage backend for fields created during tests.
OptionsDynamicValuesApiTest::testOptionsAllowedValues function core/modules/options/tests/src/Kernel/OptionsDynamicValuesApiTest.php Tests \Drupal\options\OptionsAllowedValuesInterface::allowedValues().
OptionsDynamicValuesTestBase class core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php Base class for testing allowed values of options fields.
OptionsDynamicValuesTestBase.php file core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
OptionsDynamicValuesTestBase::$entity property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php The created entity.
OptionsDynamicValuesTestBase::$field property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php The field data.
OptionsDynamicValuesTestBase::$fieldStorage property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php The field storage.
OptionsDynamicValuesTestBase::$modules property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php Modules to install.
OptionsDynamicValuesTestBase::$test property core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php Test data.
OptionsDynamicValuesTestBase::setUp function core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
OptionsDynamicValuesValidationTest class core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Tests the Options field allowed values function.
OptionsDynamicValuesValidationTest.php file core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php
OptionsDynamicValuesValidationTest::$entity property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php The created entity.
OptionsDynamicValuesValidationTest::$modules property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Modules to install.
OptionsDynamicValuesValidationTest::$test property core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Test data.
OptionsDynamicValuesValidationTest::setUp function core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Set the default field storage backend for fields created during tests.
OptionsDynamicValuesValidationTest::testDynamicAllowedValues function core/modules/options/tests/src/Kernel/OptionsDynamicValuesValidationTest.php Tests that allowed values function gets the entity.
OptionsFieldTest::testGenerateSampleItemsWithNoAllowedValues function core/modules/options/tests/src/Kernel/OptionsFieldTest.php Tests that ::generateSampleItems does not fail with empty allowed values.
OptionsFieldTest::testUpdateAllowedValues function core/modules/options/tests/src/Kernel/OptionsFieldTest.php Tests that allowed values can be updated.
OptionsFieldUIAllowedValuesTest class core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Tests the Options field allowed values UI functionality.
OptionsFieldUIAllowedValuesTest.php file core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php
OptionsFieldUIAllowedValuesTest::$adminPath property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Admin path to manage field storage settings.
OptionsFieldUIAllowedValuesTest::$defaultTheme property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php The theme to install as the default for testing.
OptionsFieldUIAllowedValuesTest::$fieldName property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Name of the option field.
OptionsFieldUIAllowedValuesTest::$modules property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Modules to install.
OptionsFieldUIAllowedValuesTest::$nodeFormPath property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Node form path for created content type.
OptionsFieldUIAllowedValuesTest::$type property core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Machine name of the created content type.
OptionsFieldUIAllowedValuesTest::assertAllowValuesRowCount function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Assert the count of the allowed values rows.
OptionsFieldUIAllowedValuesTest::assertHasFocusByAttribute function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Asserts an element specified by an attribute value has focus.
OptionsFieldUIAllowedValuesTest::assertNodeFormOrder function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Asserts the order of provided option list on node form.
OptionsFieldUIAllowedValuesTest::assertOrder function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Asserts the order of provided option list on admin path.
OptionsFieldUIAllowedValuesTest::createOptionsField function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Helper function to create list field of a given type.
OptionsFieldUIAllowedValuesTest::exposeOptionMachineName function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Exposes the machine name input for a row.
OptionsFieldUIAllowedValuesTest::pressEnterOnElement function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Presses "Enter" on the specified element.
OptionsFieldUIAllowedValuesTest::providerTestOptionsAllowedValues function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Data provider for testOptionsAllowedValues().
OptionsFieldUIAllowedValuesTest::setUp function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php
OptionsFieldUIAllowedValuesTest::testOptionsAllowedValues function core/modules/options/tests/src/FunctionalJavascript/OptionsFieldUIAllowedValuesTest.php Tests option types allowed values.
OptionsFieldUITest::assertAllowedValuesInput function core/modules/options/tests/src/Functional/OptionsFieldUITest.php Tests an input array for the 'allowed values' form element.
OptionsFieldUITest::testOptionsAllowedValuesFloat function core/modules/options/tests/src/Functional/OptionsFieldUITest.php Options (float) : test 'allowed values' input.
OptionsFieldUITest::testOptionsAllowedValuesInteger function core/modules/options/tests/src/Functional/OptionsFieldUITest.php Options (integer) : test 'allowed values' input.

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