function TypedData::getDataDefinition

Gets the data definition.

Return value

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

Overrides TypedDataInterface::getDataDefinition

1 call to TypedData::getDataDefinition()
Mapping::getDefinedKeys in core/lib/Drupal/Core/Config/Schema/Mapping.php
Gets the keys defined for this mapping (locally defined + inherited).

File

core/lib/Drupal/Core/TypedData/TypedData.php, line 87

Class

TypedData
The abstract base class for typed data.

Namespace

Drupal\Core\TypedData

Code

public function getDataDefinition() {
  return $this->definition;
}

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