Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Entity / Sql / SqlEntityStorageInterface.php
1 <?php
2
3 namespace Drupal\Core\Entity\Sql;
4
5 use Drupal\Core\Entity\EntityStorageInterface;
6
7 /**
8  * A common interface for SQL-based entity storage implementations.
9  */
10 interface SqlEntityStorageInterface extends EntityStorageInterface {
11
12   /**
13    * Gets a table mapping for the entity's SQL tables.
14    *
15    * @param \Drupal\Core\Field\FieldStorageDefinitionInterface[] $storage_definitions
16    *   (optional) An array of field storage definitions to be used to compute
17    *   the table mapping. Defaults to the ones provided by the entity manager.
18    *
19    * @return \Drupal\Core\Entity\Sql\TableMappingInterface
20    *   A table mapping object for the entity's tables.
21    */
22   public function getTableMapping(array $storage_definitions = NULL);
23
24 }