public function SqlEntityStorageInterface::getTableMapping in Drupal 8
Same name and namespace in other branches
- 9 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 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 22
Class
- SqlEntityStorageInterface
- A common interface for SQL-based entity storage implementations.
Namespace
Drupal\Core\Entity\SqlCode
public function getTableMapping(array $storage_definitions = NULL);