SqlContentEntityStorage::$revisionTable

The table that stores revisions, if the entity supports revisions. Type: string File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 83 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected $revisionTable;

SqlContentEntityStorage::$tableMapping

The mapping of field columns to SQL tables. Type: \Drupal\Core\Entity\Sql\TableMappingInterface File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 46 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected $tableMapping;

SqlContentEntityStorage::buildPropertyQuery

protected SqlContentEntityStorage::buildPropertyQuery(QueryInterface $entity_query, array $values) Builds an entity query. Parameters \Drupal\Core\Entity\Query\QueryInterface $entity_query: EntityQuery instance. array $values: An associative array of properties of the entity, where the keys are the property names and the values are the values those properties must have. Overrides EntityStorageBase::buildPropertyQuery File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 612

SqlContentEntityStorage::$storageSchema

The entity type's storage schema object. Type: \Drupal\Core\Entity\Schema\EntityStorageSchemaInterface File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 111 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected $storageSchema;

SqlContentEntityStorage::countFieldData

public SqlContentEntityStorage::countFieldData($storage_definition, $as_bool = FALSE) Determines the number of entities with values for a given field. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field for which to count data records. bool $as_bool: (Optional) Optimises the query for checking whether there are any records or not. Defaults to FALSE. Return value bool|int The number of entities. If $as_bool parameter is TRUE then the value will either b

SqlContentEntityStorage::buildQuery

protected SqlContentEntityStorage::buildQuery($ids, $revision_id = FALSE) Builds the query to load the entity. This has full revision support. For entities requiring special queries, the class can be extended, and the default query can be constructed by calling parent::buildQuery(). This is usually necessary when the object being loaded needs to be augmented with additional data from another table, such as loading node type into comments or vocabulary machine name into terms, however it can als

SqlContentEntityStorage::$revisionKey

Name of entity's revision database table field, if it supports revisions. Has the value FALSE if this entity does not use revisions. Type: string File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 55 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected $revisionKey = FALSE;

SqlContentEntityStorage::$dataTable

The table that stores properties, if the entity has multilingual support. Type: string File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 90 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected $dataTable;

SqlContentEntityStorage::$database

Active database connection. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 104 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected $database;

SqlContentEntityStorage::$defaultLangcodeKey

The default language entity key. Type: string File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 69 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code protected $defaultLangcodeKey = FALSE;