function DataDefinitionInterface::getDataType

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDataType()
  2. 10 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDataType()
  3. 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\TypedData

Code

public function getDataType();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.