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