SqlContentEntityStorageSchema::requiresFieldStorageSchemaChanges

public SqlContentEntityStorageSchema::requiresFieldStorageSchemaChanges(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Checks if the changes to the storage definition requires schema changes. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The updated field storage definition. \Drupal\Core\Field\FieldStorageDefinitionInterface $original: The original field storage definition. Return value bool TRUE if storage

SqlContentEntityStorageSchema::requiresEntityStorageSchemaChanges

public SqlContentEntityStorageSchema::requiresEntityStorageSchemaChanges(EntityTypeInterface $entity_type, EntityTypeInterface $original) Checks if the changes to the entity type requires storage schema changes. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The updated entity type definition. \Drupal\Core\Entity\EntityTypeInterface $original: The original entity type definition. Return value bool TRUE if storage schema changes are required, FALSE otherwise. Overrides Entity

SqlContentEntityStorageSchema::saveEntitySchemaData

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

SqlContentEntityStorageSchema::requiresFieldDataMigration

public SqlContentEntityStorageSchema::requiresFieldDataMigration(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Checks if existing data would be lost if the schema changes were applied. If there are no schema changes needed, then no data needs to be migrated, but it is not the responsibility of this function to recheck what requiresFieldStorageSchemaChanges() checks. Rather, the meaning of what this function returns when requiresFieldStorageSchem

SqlContentEntityStorageSchema::saveFieldSchemaData

protected SqlContentEntityStorageSchema::saveFieldSchemaData(FieldStorageDefinitionInterface $storage_definition, $schema) Stores schema data for the given field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. array $schema: The field schema data array. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 821 Class SqlContentEntityStorageSchema Defines a schema handler that support

SqlContentEntityStorageSchema::requiresEntityDataMigration

public SqlContentEntityStorageSchema::requiresEntityDataMigration(EntityTypeInterface $entity_type, EntityTypeInterface $original) Checks if existing data would be lost if the schema changes were applied. If there are no schema changes needed, then no data needs to be migrated, but it is not the responsibility of this function to recheck what requiresEntityStorageSchemaChanges() checks. Rather, the meaning of what this function returns when requiresEntityStorageSchemaChanges() returns FALSE is

SqlContentEntityStorageSchema::processIdentifierSchema

protected SqlContentEntityStorageSchema::processIdentifierSchema(&$schema, $key) Processes the specified entity key. Parameters array $schema: The table schema, passed by reference. string $key: The entity key name. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1063 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected function processIdentifierS

SqlContentEntityStorageSchema::processRevisionTable

protected SqlContentEntityStorageSchema::processRevisionTable(ContentEntityTypeInterface $entity_type, array &$schema) Processes the gathered schema for a base table. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. array $schema: The table schema, passed by reference. Return value array A partial schema array for the base table. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1017 Class SqlContentEntityStorageSchema

SqlContentEntityStorageSchema::processRevisionDataTable

protected SqlContentEntityStorageSchema::processRevisionDataTable(ContentEntityTypeInterface $entity_type, array &$schema) Processes the gathered schema for a base table. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. array $schema: The table schema, passed by reference. Return value array A partial schema array for the base table. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1049 Class SqlContentEntityStorageSc

SqlContentEntityStorageSchema::processDataTable

protected SqlContentEntityStorageSchema::processDataTable(ContentEntityTypeInterface $entity_type, array &$schema) Processes the gathered schema for a base table. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. array $schema: The table schema, passed by reference. Return value array A partial schema array for the base table. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1032 Class SqlContentEntityStorageSchema De