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