SqlContentEntityStorageSchema::initializeRevisionDataTable

protected SqlContentEntityStorageSchema::initializeRevisionDataTable(ContentEntityTypeInterface $entity_type) Initializes common information for a revision data table. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. Return value array A partial schema array for the revision data table. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 948 Class SqlContentEntityStorageSchema Defines a schema handler that supports revision

SqlContentEntityStorageSchema::initializeDataTable

protected SqlContentEntityStorageSchema::initializeDataTable(ContentEntityTypeInterface $entity_type) Initializes common information for a data table. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. Return value array A partial schema array for the data table. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 911 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entitie

SqlContentEntityStorageSchema::initializeRevisionTable

protected SqlContentEntityStorageSchema::initializeRevisionTable(ContentEntityTypeInterface $entity_type) Initializes common information for a revision table. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. Return value array A partial schema array for the revision table. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 878 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translat

SqlContentEntityStorageSchema::loadEntitySchemaData

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

SqlContentEntityStorageSchema::installedStorageSchema

protected SqlContentEntityStorageSchema::installedStorageSchema() Gets the keyvalue collection for tracking the installed schema. @todo Inject this dependency in the constructor once this class can be instantiated as a regular entity handler: https://www.drupal.org/node/2332857. Return value \Drupal\Core\KeyValueStore\KeyValueStoreInterface File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 116 Class SqlContentEntityStorageSchema Defines a schema handler that sup

SqlContentEntityStorageSchema::initializeBaseTable

protected SqlContentEntityStorageSchema::initializeBaseTable(ContentEntityTypeInterface $entity_type) Initializes common information for a base table. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. Return value array A partial schema array for the base table. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 844 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entitie

SqlContentEntityStorageSchema::hasSharedTableStructureChange

protected SqlContentEntityStorageSchema::hasSharedTableStructureChange(EntityTypeInterface $entity_type, EntityTypeInterface $original) Detects whether there is a change in the shared table structure. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The new entity type. \Drupal\Core\Entity\EntityTypeInterface $original: The origin entity type. Return value bool Returns TRUE if either the revisionable or translatable flag changes or a table has been renamed. File core/lib/Drupa

SqlContentEntityStorageSchema::hasNullFieldPropertyData

protected SqlContentEntityStorageSchema::hasNullFieldPropertyData($table_name, $column_name) Checks whether a field property has NULL values. Parameters string $table_name: The name of the table to inspect. string $column_name: The name of the column holding the field property data. Return value bool TRUE if NULL data is found, FALSE otherwise. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1546 Class SqlContentEntityStorageSchema Defines a schema handler th

SqlContentEntityStorageSchema::hasSharedTableNameChanges

protected SqlContentEntityStorageSchema::hasSharedTableNameChanges(EntityTypeInterface $entity_type, EntityTypeInterface $original) Detects whether any table name got renamed in an entity type update. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The new entity type. \Drupal\Core\Entity\EntityTypeInterface $original: The origin entity type. Return value bool Returns TRUE if there have been changes. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line

SqlContentEntityStorageSchema::hasColumnChanges

protected SqlContentEntityStorageSchema::hasColumnChanges(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) Compares schemas to check for changes in the column definitions. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: Current field storage definition. \Drupal\Core\Field\FieldStorageDefinitionInterface $original: The original field storage definition. Return value bool Returns TRUE if there are schema changes i