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

Gets the name of the entity's revision table.

@todo Used by SqlContentEntityStorage only.

Return value

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

Overrides EntityTypeInterface::getRevisionTable

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

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function getRevisionTable() {
  return $this->revision_table;
}