function ComputedItemListTrait::computeValue
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php \Drupal\Core\TypedData\ComputedItemListTrait::computeValue()
- 8.9.x core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php \Drupal\Core\TypedData\ComputedItemListTrait::computeValue()
- 11.x core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php \Drupal\Core\TypedData\ComputedItemListTrait::computeValue()
Computes the values for an item list.
1 call to ComputedItemListTrait::computeValue()
- ComputedItemListTrait::ensureComputedValue in core/
lib/ Drupal/ Core/ TypedData/ ComputedItemListTrait.php - Ensures that values are only computed once.
6 methods override ComputedItemListTrait::computeValue()
- ComputedReferenceTestFieldItemList::computeValue in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ ComputedReferenceTestFieldItemList.php - Compute the list property from state.
- ComputedTestBundleFieldItemList::computeValue in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ ComputedTestBundleFieldItemList.php - Compute the list property from state.
- ComputedTestCacheableStringItemList::computeValue in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ ComputedTestCacheableStringItemList.php - Computes the values for an item list.
- ComputedTestFieldItemList::computeValue in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ ComputedTestFieldItemList.php - Compute the list property from state.
- ModerationStateFieldItemList::computeValue in core/
modules/ content_moderation/ src/ Plugin/ Field/ ModerationStateFieldItemList.php - Computes the values for an item list.
File
-
core/
lib/ Drupal/ Core/ TypedData/ ComputedItemListTrait.php, line 27
Class
- ComputedItemListTrait
- Provides common functionality for computed item lists.
Namespace
Drupal\Core\TypedDataCode
protected abstract function computeValue();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.