SqlContentEntityStorageSchema::getEntitySchema

protected SqlContentEntityStorageSchema::getEntitySchema(ContentEntityTypeInterface $entity_type, $reset = FALSE) Gets the entity schema for the specified entity type. Entity types may override this method in order to optimize the generated schema of the entity tables. However, only cross-field optimizations should be added here; e.g., an index spanning multiple fields. Optimizations that apply to a single field have to be added via SqlContentEntityStorageSchema::getSharedTableFieldSchema() ins

SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys

protected SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys() Returns a list of column schema keys affecting data storage. When comparing schema definitions, only changes in certain properties actually affect how data is stored and thus, if applied, may imply data manipulation. Return value string[] An array of key names. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1980 Class SqlContentEntityStorageSchema Defines a schema handler that supports rev

SqlContentEntityStorageSchema::getEntityIndexName

protected SqlContentEntityStorageSchema::getEntityIndexName(ContentEntityTypeInterface $entity_type, $index) Gets the name to be used for the given entity index. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. string $index: The index column name. Return value string The index name. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1895 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionab

SqlContentEntityStorageSchema::getDedicatedTableSchema

protected SqlContentEntityStorageSchema::getDedicatedTableSchema(FieldStorageDefinitionInterface $storage_definition, ContentEntityTypeInterface $entity_type = NULL) Gets the SQL schema for a dedicated table. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: (optional) The entity type definition. Defaults to the one returned by the entity manager. Return value array The

SqlContentEntityStorageSchema::deleteEntitySchemaIndexes

protected SqlContentEntityStorageSchema::deleteEntitySchemaIndexes(array $entity_schema_data, FieldStorageDefinitionInterface $storage_definition = NULL) Deletes the specified entity schema indexes and keys. Parameters array $entity_schema_data: The entity schema data definition. \Drupal\Core\Field\FieldStorageDefinitionInterface|null $storage_definition: (optional) If a field storage definition is specified, only indexes and keys involving its columns will be processed. Otherwise all defined

SqlContentEntityStorageSchema::deleteDedicatedTableSchema

protected SqlContentEntityStorageSchema::deleteDedicatedTableSchema(FieldStorageDefinitionInterface $storage_definition) Deletes the schema for a field stored in a dedicated table. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The storage definition of the field being deleted. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1181 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, transla

SqlContentEntityStorageSchema::deleteSharedTableSchema

protected SqlContentEntityStorageSchema::deleteSharedTableSchema(FieldStorageDefinitionInterface $storage_definition) Deletes the schema for a field stored in a shared table. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The storage definition of the field being deleted. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1202 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable

SqlContentEntityStorageSchema::deleteFieldSchemaData

protected SqlContentEntityStorageSchema::deleteFieldSchemaData(FieldStorageDefinitionInterface $storage_definition) Deletes schema data for the given field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 831 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace

SqlContentEntityStorageSchema::deleteEntitySchemaData

protected SqlContentEntityStorageSchema::deleteEntitySchemaData(EntityTypeInterface $entity_type) Deletes schema data for the given entity type definition. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 796 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected

SqlContentEntityStorageSchema::finalizePurge

public SqlContentEntityStorageSchema::finalizePurge(FieldStorageDefinitionInterface $storage_definition) Performs final cleanup after all data of a field has been purged. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being purged. Overrides DynamicallyFieldableEntityStorageSchemaInterface::finalizePurge File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 448 Class SqlContentEntityStorageSchema Defines a schema handler