function PrimitiveInterface::getCastedValue
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/PrimitiveInterface.php \Drupal\Core\TypedData\PrimitiveInterface::getCastedValue()
- 8.9.x core/lib/Drupal/Core/TypedData/PrimitiveInterface.php \Drupal\Core\TypedData\PrimitiveInterface::getCastedValue()
- 11.x 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 33
Class
- PrimitiveInterface
- Interface for primitive data.
Namespace
Drupal\Core\TypedDataCode
public function getCastedValue();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.