Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/TypedData/PrimitiveInterface.php \Drupal\Core\TypedData\PrimitiveInterface::getCastedValue()
  2. 9 core/lib/Drupal/Core/TypedData/PrimitiveInterface.php \Drupal\Core\TypedData\PrimitiveInterface::getCastedValue()

Gets the primitive data value casted to the correct PHP type.

Return value

mixed

File

core/lib/Drupal/Core/TypedData/PrimitiveInterface.php, line 33

Class

PrimitiveInterface
Interface for primitive data.

Namespace

Drupal\Core\TypedData

Code

public function getCastedValue();