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
BinaryData::setValue function core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php Overrides TypedData::setValue().
ComputedFileUrl::setValue function core/modules/file/src/ComputedFileUrl.php Sets the data value.
ComputedFileUrlTest::testSetValue function core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php @covers ::setValue
ComputedFileUrlTest::testSetValueNoNotify function core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php @covers ::setValue
ComputedItemListTrait::setValue function core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php
ConfigTarget::setValue function core/lib/Drupal/Core/Form/ConfigTarget.php Sets the submitted value from config.
ConfigTargetTest::testSetValueCorrectConfig function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testSetValueMultiTargetToConfigReturnValue function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @testWith ["this string was returned by toConfig", "The toConfig callable returned a string, but it must be an array with a key-value pair for each of the targeted property paths."]
[true, "The toConfig callable returned a…
ConfigTest::testSetIllegalOffsetValue function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::set
ConfigTest::testSetValue function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::set
@dataProvider nestedDataProvider
DataReferenceBase::setValue function core/lib/Drupal/Core/TypedData/DataReferenceBase.php Sets the data value.
DateTimeComputed::setValue function core/modules/datetime/src/DateTimeComputed.php Sets the data value.
DateTimeItemTest::testSetValue function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Tests DateTimeItem::setValue().
DateTimeItemTest::testSetValueProperty function core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php Tests setting the value of the DateTimeItem directly.
DocParserTest::testSetValuesException function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DrupalSelenium2Driver::setValue function core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php
EntityAdapter::setValue function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php Sets the data value.
EntityAdapterUnitTest::testSetValue function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::setValue
EntityReference::setValue function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Sets the data value.
EntityReferenceItem::setValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
FieldItemBase::setValue function core/lib/Drupal/Core/Field/FieldItemBase.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
FieldItemList::setValue function core/lib/Drupal/Core/Field/FieldItemList.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
FormStateDecoratorBase::setValue function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the submitted form value for a specific key.
FormStateDecoratorBase::setValueForElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Changes submitted form values during form validation.
FormStateDecoratorBase::setValues function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the submitted form values.
FormStateDecoratorBase::unsetValue function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Removes a specific key from the submitted form values.
FormStateDecoratorBaseTest::testSetValue function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setValue
FormStateDecoratorBaseTest::testSetValueForElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setValueForElement
FormStateDecoratorBaseTest::testSetValues function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setValues
FormStateDecoratorBaseTest::testUnsetValue function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::unsetValue
FormStateInterface::setValue function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the submitted form value for a specific key.
FormStateInterface::setValueForElement function core/lib/Drupal/Core/Form/FormStateInterface.php Changes submitted form values during form validation.
FormStateInterface::setValues function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the submitted form values.
FormStateInterface::unsetValue function core/lib/Drupal/Core/Form/FormStateInterface.php Removes a specific key from the submitted form values.
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()
FormStateValuesTraitTest::providerSetValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testSetValue().
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.
ItemList::setValue function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
Language::setValue function core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php Overrides TypedData::setValue().
LanguageItem::setValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
LinkItem::setValue function core/modules/link/src/Plugin/Field/FieldType/LinkItem.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
Map::setValue function core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
MapItem::setValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
ModerationStateFieldItemList::setValue function core/modules/content_moderation/src/Plugin/Field/ModerationStateFieldItemList.php Overrides \Drupal\Core\TypedData\TypedData::setValue().
NestedArray::setValue function core/lib/Drupal/Component/Utility/NestedArray.php Sets a value in a nested array with variable depth.
NestedArray::unsetValue function core/lib/Drupal/Component/Utility/NestedArray.php Unsets a value in a nested array with variable depth.

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