function EntityInterface::getTypedData
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getTypedData()
- 10 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::getTypedData()
- 11.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\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()
- EntityBase::getTypedData in core/
lib/ Drupal/ Core/ Entity/ EntityBase.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 407
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public function getTypedData();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.