You are here

protected function Field::getTableMapping in Zircon Profile 8

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

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

Return value

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

File

core/modules/views/src/Plugin/views/field/Field.php, line 994
Contains \Drupal\views\Plugin\views\field\Field.

Class

Field
A field that displays entity field data.

Namespace

Drupal\views\Plugin\views\field

Code

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