You are here

public function ComputedString::getCastedValue in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php \Drupal\entity_test\TypedData\ComputedString::getCastedValue()
  2. 10 core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php \Drupal\entity_test\TypedData\ComputedString::getCastedValue()

File

core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php, line 28

Class

ComputedString
A computed property for test strings.

Namespace

Drupal\entity_test\TypedData

Code

public function getCastedValue() {
  return $this
    ->getString();
}