You are here

protected function EntityField::getTableMapping in Drupal 9

Same name and namespace in other branches
  1. 8 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 1060

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