8.3.x EntityType.php public EntityType::getRevisionDataTable()
8.0.x EntityType.php public EntityType::getRevisionDataTable()
8.1.x EntityType.php public EntityType::getRevisionDataTable()
8.2.x EntityType.php public EntityType::getRevisionDataTable()
8.4.x EntityType.php public EntityType::getRevisionDataTable()

Gets the name of the entity's revision data table.

@todo Used by SqlContentEntityStorage only.

Return value

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

Overrides EntityTypeInterface::getRevisionDataTable

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

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function getRevisionDataTable() {
  return $this->revision_data_table;
}