function ComputedItemListTrait::appendItem
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php \Drupal\Core\TypedData\ComputedItemListTrait::appendItem()
- 10 core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php \Drupal\Core\TypedData\ComputedItemListTrait::appendItem()
- 11.x core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php \Drupal\Core\TypedData\ComputedItemListTrait::appendItem()
File
-
core/
lib/ Drupal/ Core/ TypedData/ ComputedItemListTrait.php, line 97
Class
- ComputedItemListTrait
- Provides common functionality for computed item lists.
Namespace
Drupal\Core\TypedDataCode
public function appendItem($value = NULL) {
$this->ensureComputedValue();
return parent::appendItem($value);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.