function DataDefinitionInterface::getDataType
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDataType()
- 10 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDataType()
- 11.x 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();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.