function SqlEntityStorageInterface::getTableMapping

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php \Drupal\Core\Entity\Sql\SqlEntityStorageInterface::getTableMapping()
  2. 8.9.x core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php \Drupal\Core\Entity\Sql\SqlEntityStorageInterface::getTableMapping()
  3. 11.x core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php \Drupal\Core\Entity\Sql\SqlEntityStorageInterface::getTableMapping()

Gets a table mapping for the entity's SQL tables.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface[] $storage_definitions: (optional) An array of field storage definitions to be used to compute the table mapping. Defaults to the ones provided by the entity field manager.

Return value

\Drupal\Core\Entity\Sql\TableMappingInterface A table mapping object for the entity's tables.

1 method overrides SqlEntityStorageInterface::getTableMapping()
SqlContentEntityStorage::getTableMapping in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Gets a table mapping for the entity's SQL tables.

File

core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php, line 23

Class

SqlEntityStorageInterface
A common interface for SQL-based entity storage implementations.

Namespace

Drupal\Core\Entity\Sql

Code

public function getTableMapping(?array $storage_definitions = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.