function EntityDataDefinitionInterface::getEntityTypeId

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\EntityDataDefinitionInterface::getEntityTypeId()
  2. 10 core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php \Drupal\Core\Entity\TypedData\EntityDataDefinitionInterface::getEntityTypeId()
  3. 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\TypedData

Code

public function getEntityTypeId();

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