function EntityDataDefinitionInterface::getEntityTypeId
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\EntityDataDefinitionInterface::getEntityTypeId()
- 10 core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\EntityDataDefinitionInterface::getEntityTypeId()
- 11.x core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\EntityDataDefinitionInterface::getEntityTypeId()
Gets the entity type ID.
Return value
string|null The entity type ID, or NULL if the entity type is unknown.
1 method overrides EntityDataDefinitionInterface::getEntityTypeId()
- EntityDataDefinition::getEntityTypeId in core/
lib/ Drupal/ Core/ Entity/ TypedData/ EntityDataDefinition.php - Gets the entity type ID.
File
-
core/
lib/ Drupal/ Core/ Entity/ TypedData/ EntityDataDefinitionInterface.php, line 18
Class
- EntityDataDefinitionInterface
- Interface for typed data entity definitions.
Namespace
Drupal\Core\Entity\TypedDataCode
public function getEntityTypeId();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.