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(),
  ));
}
doc_Drupal
2016-10-29 09:43:38
Comments
Leave a Comment

Please login to continue.