Search for setValue

  1. Search 7.x for setValue
  2. Search 9.5.x for setValue
  3. Search 8.9.x for setValue
  4. Search 11.x for setValue
  5. Other projects
Title Object type File name Summary
NestedArrayTest::testSetValue function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests setting nested array values.
NestedArrayTest::testSetValueForce function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests force-setting values.
NestedArrayTest::testUnsetValue function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests unsetting nested array values.
PrimitiveBase::setValue function core/lib/Drupal/Core/TypedData/PrimitiveBase.php Sets the data value.
PrimitiveInterface::setValue function core/lib/Drupal/Core/TypedData/PrimitiveInterface.php Sets the primitive data value.
SectionData::setValue function core/modules/layout_builder/src/Plugin/DataType/SectionData.php Sets the data value.
StringBase::setValues function core/modules/locale/src/StringBase.php Sets an array of values as object properties.
StringInterface::setValues function core/modules/locale/src/StringInterface.php Sets an array of values as object properties.
SubformStateTest::providerTestSetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Provides data to self::testSetValues().
SubformStateTest::providerTestSetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php Provides data to self::testSetValuesBroken().
SubformStateTest::testSetValues function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setValues
SubformStateTest::testSetValuesBroken function core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @covers ::setValues
TestStorage::setValue function core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php Provides a setter to bypass the array type hint on ::write().
TextProcessed::setValue function core/modules/text/src/TextProcessed.php Sets the data value.
TypedData::setValue function core/lib/Drupal/Core/TypedData/TypedData.php Sets the data value.
TypedDataInterface::setValue function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Sets the data value.

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