You are here

public function EntityDataDefinitionInterface::getEntityTypeId in Drupal 8

Same name and namespace in other branches
  1. 9 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();