You are here

protected function EntityField::getTableMapping in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/field/EntityField.php \Drupal\views\Plugin\views\field\EntityField::getTableMapping()

Gets the table mapping for the entity type of the field.

Return value

\Drupal\Core\Entity\Sql\DefaultTableMapping The table mapping.

1 call to EntityField::getTableMapping()
EntityField::query in core/modules/views/src/Plugin/views/field/EntityField.php
Called to add the field to a query.

File

core/modules/views/src/Plugin/views/field/EntityField.php, line 1073

Class

EntityField
A field that displays entity field data.

Namespace

Drupal\views\Plugin\views\field

Code

protected function getTableMapping() {
  return $this->entityTypeManager
    ->getStorage($this->definition['entity_type'])
    ->getTableMapping();
}