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\fieldCode
protected function getTableMapping() {
return $this->entityTypeManager
->getStorage($this->definition['entity_type'])
->getTableMapping();
}