You are here

protected function SqlContentEntityStorageSchema::getEntitySchemaTables in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::getEntitySchemaTables()

Gets a list of entity type tables.

Return value

array A list of entity type tables, keyed by table key.

2 calls to SqlContentEntityStorageSchema::getEntitySchemaTables()
SqlContentEntityStorageSchema::getEntitySchema in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Gets the entity schema for the specified entity type.
SqlContentEntityStorageSchema::onEntityTypeDelete in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Reacts to the deletion of the entity type.

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 571
Contains \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema.

Class

SqlContentEntityStorageSchema
Defines a schema handler that supports revisionable, translatable entities.

Namespace

Drupal\Core\Entity\Sql

Code

protected function getEntitySchemaTables() {
  return array_filter(array(
    'base_table' => $this->storage
      ->getBaseTable(),
    'revision_table' => $this->storage
      ->getRevisionTable(),
    'data_table' => $this->storage
      ->getDataTable(),
    'revision_data_table' => $this->storage
      ->getRevisionDataTable(),
  ));
}