protected function SqlContentEntityStorageSchema::getEntitySchemaTables

protected SqlContentEntityStorageSchema::getEntitySchemaTables()

Gets a list of entity type tables.

Return value

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

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 566

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(),
  ));
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!SqlContentEntityStorageSchema.php/function/SqlContentEntityStorageSchema::getEntitySchemaTables/8.1.x