interface SqlEntityStorageInterface
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php \Drupal\Core\Entity\Sql\SqlEntityStorageInterface
- 11.x core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php \Drupal\Core\Entity\Sql\SqlEntityStorageInterface
A common interface for SQL-based entity storage implementations.
Hierarchy
- interface \Drupal\Core\Entity\EntityStorageInterface
- interface \Drupal\Core\Entity\Sql\SqlEntityStorageInterface extends \Drupal\Core\Entity\EntityStorageInterface
Expanded class hierarchy of SqlEntityStorageInterface
All classes that implement SqlEntityStorageInterface
4 files declare their use of SqlEntityStorageInterface
- EntityViewsData.php in core/
modules/ views/ src/ EntityViewsData.php - KernelTestBase.php in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Tables.php in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ Tables.php - views_test_query_access.module in core/
modules/ views/ tests/ modules/ views_test_query_access/ views_test_query_access.module - Module to test entity query access in Views.
File
-
core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlEntityStorageInterface.php, line 10
Namespace
Drupal\Core\Entity\SqlView source
interface SqlEntityStorageInterface extends EntityStorageInterface {
/**
* Gets a table mapping for the entity's SQL tables.
*
* @param \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 \Drupal\Core\Entity\Sql\TableMappingInterface
* A table mapping object for the entity's tables.
*/
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.