function TypedDataInterface::getDataDefinition

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/TypedDataInterface.php \Drupal\Core\TypedData\TypedDataInterface::getDataDefinition()
  2. 8.9.x core/lib/Drupal/Core/TypedData/TypedDataInterface.php \Drupal\Core\TypedData\TypedDataInterface::getDataDefinition()
  3. 10 core/lib/Drupal/Core/TypedData/TypedDataInterface.php \Drupal\Core\TypedData\TypedDataInterface::getDataDefinition()

Gets the data definition.

Return value

\Drupal\Core\TypedData\DataDefinitionInterface The data definition object.

3 methods override TypedDataInterface::getDataDefinition()
ComplexDataInterface::getDataDefinition in core/lib/Drupal/Core/TypedData/ComplexDataInterface.php
Gets the data definition.
ListInterface::getDataDefinition in core/lib/Drupal/Core/TypedData/ListInterface.php
Gets the data definition.
TypedData::getDataDefinition in core/lib/Drupal/Core/TypedData/TypedData.php
Gets the data definition.

File

core/lib/Drupal/Core/TypedData/TypedDataInterface.php, line 40

Class

TypedDataInterface
Interface for typed data objects.

Namespace

Drupal\Core\TypedData

Code

public function getDataDefinition();

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