W3cubDocs

/Drupal 8

public function EntityInterface::getTypedData

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.

Overrides EntityInterface::getTypedData

See also

\Drupal\Core\TypedData\TypedDataInterface

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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityInterface.php/function/EntityInterface::getTypedData/8.1.x