Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityField.php

function 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 1096

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal