Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/PrimitiveInterface.php \Drupal\Core\TypedData\PrimitiveInterface::getCastedValue()
- 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\TypedDataCode
public function getCastedValue();