Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::getDataTable()
  2. 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::getDataTable()

Gets the name of the entity's data table.

@todo Used by SqlContentEntityStorage only.

Return value

string|null The name of the entity type's data table, or NULL if none exists.

1 method overrides EntityTypeInterface::getDataTable()
EntityType::getDataTable in core/lib/Drupal/Core/Entity/EntityType.php
Gets the name of the entity's data table.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 585

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getDataTable();