SqlContentEntityStorageSchema::addIndex

protected SqlContentEntityStorageSchema::addIndex($table, $name, array $specifier, array $schema) Creates an index, dropping it if already existing. Parameters string $table: The table name. string $name: The index name. array $specifier: The fields to index. array $schema: The table specification. See also \Drupal\Core\Database\Schema::addIndex() File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1998 Class SqlContentEntityStorageSchema Defines a schema handler

SqlContentEntityStorageSchema::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 35 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected $entityManager;

SqlContentEntityStorageSchema::$originalDefinitions

The original storage field definitions for this entity type. Used during field schema updates. Type: \Drupal\Core\Field\FieldDefinitionInterface[] File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 57 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected $originalDefinitions;

SqlContentEntityStorageSchema::$entityType

The entity type this schema builder is responsible for. Type: \Drupal\Core\Entity\ContentEntityTypeInterface File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 42 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected $entityType;

SqlContentEntityStorageSchema::$fieldStorageDefinitions

The storage field definitions for this entity type. Type: \Drupal\Core\Field\FieldStorageDefinitionInterface[] File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 49 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected $fieldStorageDefinitions;

SqlContentEntityStorageSchema::$installedStorageSchema

The key-value collection for tracking installed storage schema. Type: \Drupal\Core\KeyValueStore\KeyValueStoreInterface File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 85 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected $installedStorageSchema;

SqlContentEntityStorageSchema::$schema

A static cache of the generated schema array. Type: array File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 71 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected $schema;

SqlContentEntityStorageSchema

Defines a schema handler that supports revisionable, translatable entities. Entity types may extend this class and optimize the generated schema for all entity base tables by overriding getEntitySchema() for cross-field optimizations and getSharedTableFieldSchema() for optimizations applying to a single field. Hierarchy class \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema implements DynamicallyFieldableEntityStorageSchemaInterface uses DependencySerializationTrait File core/lib/Drupal

SqlContentEntityStorageSchema::$database

The database connection to be used. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 78 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected $database;

SqlContentEntityStorageException

Exception thrown when a SQL storage operation fails. Hierarchy class \Drupal\Core\Entity\EntityStorageException extends \Exceptionclass \Drupal\Core\Entity\Sql\SqlContentEntityStorageException File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageException.php, line 10 Namespace Drupal\Core\Entity\Sql Members