Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDataType()
- 9 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDataType()
Returns the data type of the data.
Return value
string The data type.
2 methods override DataDefinitionInterface::getDataType()
- DataDefinition::getDataType in core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php - Returns the data type of the data.
- FieldConfigBase::getDataType in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns the data type of the data.
File
- core/
lib/ Drupal/ Core/ TypedData/ DataDefinitionInterface.php, line 55
Class
- DataDefinitionInterface
- Interface for data definitions.
Namespace
Drupal\Core\TypedDataCode
public function getDataType();