SqlContentEntityStorage::getRevisionTable

public SqlContentEntityStorage::getRevisionTable() Gets the revision table name. Return value string|false The table name or FALSE if it is not available. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 212 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code public function getRevisionTable() { return $this->revisionTable; }

SqlContentEntityStorage::initTableLayout

protected SqlContentEntityStorage::initTableLayout() Initializes table name variables. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 168 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected function initTableLayout() { // Reset table field values to ensure changes in the entity type definition // are correctly reflected in the table layout. $this->tableMapping = NULL; $this-&g

SqlContentEntityStorage::has

protected SqlContentEntityStorage::has($id, EntityInterface $entity) Determines if this entity already exists in storage. Parameters int|string $id: The original entity ID. \Drupal\Core\Entity\EntityInterface $entity: The entity being saved. Return value bool Overrides EntityStorageBase::has File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 873 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code pr

SqlContentEntityStorage::getStorageSchema

protected SqlContentEntityStorage::getStorageSchema() Gets the entity type's storage schema object. Return value \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema The schema object. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 242 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected function getStorageSchema() { if (!isset($this->storageSchema)) { $class = $this->entity

SqlContentEntityStorage::getTableMapping

public SqlContentEntityStorage::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. Overrides SqlEntityStorageIn

SqlContentEntityStorage::getFieldStorageDefinitions

public SqlContentEntityStorage::getFieldStorageDefinitions() Gets the base field definitions for a content entity type. Return value \Drupal\Core\Field\FieldDefinitionInterface[] The array of base field definitions for the entity type, keyed by field name. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 140 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code public function getFieldStorageDefiniti

SqlContentEntityStorage::getQueryServiceName

protected SqlContentEntityStorage::getQueryServiceName() Gets the name of the service for the query for this entity storage. Return value string The name of the service for the query for this entity storage. Overrides EntityStorageBase::getQueryServiceName File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 1072 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected function getQueryServiceName

SqlContentEntityStorage::getBaseTable

public SqlContentEntityStorage::getBaseTable() Gets the base table name. Return value string The table name. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 202 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code public function getBaseTable() { return $this->baseTable; }

SqlContentEntityStorage::getDataTable

public SqlContentEntityStorage::getDataTable() Gets the data table name. Return value string|false The table name or FALSE if it is not available. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 222 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code public function getDataTable() { return $this->dataTable; }

SqlContentEntityStorage::getFromStorage

protected SqlContentEntityStorage::getFromStorage(array $ids = NULL) Gets entities from the storage. Parameters array|null $ids: If not empty, return entities that match these IDs. Return all entities when NULL. Return value \Drupal\Core\Entity\ContentEntityInterface[] Array of entities from the storage. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 417 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity