8.2.x EntityInterface.php public EntityInterface::getTypedData()
8.0.x EntityInterface.php public EntityInterface::getTypedData()
8.1.x EntityInterface.php public EntityInterface::getTypedData()
8.3.x EntityInterface.php public EntityInterface::getTypedData()

Gets a typed data object for this entity object.

The returned typed data object wraps this entity and allows dealing with entities based on the generic typed data API.

Return value

\Drupal\Core\TypedData\ComplexDataInterface The typed data object for this entity.

See also

\Drupal\Core\TypedData\TypedDataInterface

2 methods override EntityInterface::getTypedData()
Entity::getTypedData in core/lib/Drupal/Core/Entity/Entity.php
Gets a typed data object for this entity object.
ViewUI::getTypedData in core/modules/views_ui/src/ViewUI.php
Gets a typed data object for this entity object.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 467

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function getTypedData();