You are here

public function ComputedItemListTrait::applyDefaultValue in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php \Drupal\Core\TypedData\ComputedItemListTrait::applyDefaultValue()

File

core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php, line 145

Class

ComputedItemListTrait
Provides common functionality for computed item lists.

Namespace

Drupal\Core\TypedData

Code

public function applyDefaultValue($notify = TRUE) {

  // Default values do not make sense for computed item lists. However, this
  // method can be overridden if needed.
  return $this;
}