function EntityType::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.

Overrides EntityTypeInterface::getDataTable

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

File

core/lib/Drupal/Core/Entity/EntityType.php, line 768

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getDataTable() {
  return $this->data_table;
}

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