public function PrimitiveInterface::getCastedValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
5 methods override PrimitiveInterface::getCastedValue()
- BinaryData::getCastedValue in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ BinaryData.php - Gets the primitive data value casted to the correct PHP type.
- BooleanData::getCastedValue in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ BooleanData.php - Gets the primitive data value casted to the correct PHP type.
- FloatData::getCastedValue in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ FloatData.php - Gets the primitive data value casted to the correct PHP type.
- IntegerData::getCastedValue in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ IntegerData.php - Gets the primitive data value casted to the correct PHP type.
- StringData::getCastedValue in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ StringData.php - Gets the primitive data value casted to the correct PHP type.
File
- core/
lib/ Drupal/ Core/ TypedData/ PrimitiveInterface.php, line 38 - Contains \Drupal\Core\TypedData\PrimitiveInterface.
Class
- PrimitiveInterface
- Interface for primitive data.
Namespace
Drupal\Core\TypedDataCode
public function getCastedValue();