public function SqlEntityStorageInterface::getTableMapping
public SqlEntityStorageInterface::getTableMapping(array $storage_definitions = NULL)
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.
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);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!SqlEntityStorageInterface.php/function/SqlEntityStorageInterface::getTableMapping/8.1.x