Drupal 8  8.0.2
EntityTestStorageSchema Class Reference
Inheritance diagram for EntityTestStorageSchema:

Protected Member Functions

 getEntitySchema (ContentEntityTypeInterface $entity_type, $reset=FALSE)
 
 getSharedTableFieldSchema (FieldStorageDefinitionInterface $storage_definition, $table_name, array $column_mapping)
 
- Protected Member Functions inherited from SqlContentEntityStorageSchema
 installedStorageSchema ()
 
 hasSharedTableStructureChange (EntityTypeInterface $entity_type, EntityTypeInterface $original)
 
 hasSharedTableNameChanges (EntityTypeInterface $entity_type, EntityTypeInterface $original)
 
 getSchemaFromStorageDefinition (FieldStorageDefinitionInterface $storage_definition)
 
 checkEntityType (EntityTypeInterface $entity_type)
 
 getEntitySchema (ContentEntityTypeInterface $entity_type, $reset=FALSE)
 
 getEntitySchemaTables ()
 
 getEntitySchemaData (ContentEntityTypeInterface $entity_type, array $schema)
 
 getFieldIndexes ($field_name, array $field_schema, array $column_mapping)
 
 getFieldUniqueKeys ($field_name, array $field_schema, array $column_mapping)
 
 getFieldSchemaData ($field_name, array $field_schema, array $column_mapping, $schema_key)
 
 getFieldSchemaIdentifierName ($entity_type_id, $field_name, $key=NULL)
 
 getFieldForeignKeys ($field_name, array $field_schema, array $column_mapping)
 
 loadEntitySchemaData (EntityTypeInterface $entity_type)
 
 saveEntitySchemaData (EntityTypeInterface $entity_type, $schema)
 
 deleteEntitySchemaData (EntityTypeInterface $entity_type)
 
 loadFieldSchemaData (FieldStorageDefinitionInterface $storage_definition)
 
 saveFieldSchemaData (FieldStorageDefinitionInterface $storage_definition, $schema)
 
 deleteFieldSchemaData (FieldStorageDefinitionInterface $storage_definition)
 
 initializeBaseTable (ContentEntityTypeInterface $entity_type)
 
 initializeRevisionTable (ContentEntityTypeInterface $entity_type)
 
 initializeDataTable (ContentEntityTypeInterface $entity_type)
 
 initializeRevisionDataTable (ContentEntityTypeInterface $entity_type)
 
 addTableDefaults (&$schema)
 
 processBaseTable (ContentEntityTypeInterface $entity_type, array &$schema)
 
 processRevisionTable (ContentEntityTypeInterface $entity_type, array &$schema)
 
 processDataTable (ContentEntityTypeInterface $entity_type, array &$schema)
 
 processRevisionDataTable (ContentEntityTypeInterface $entity_type, array &$schema)
 
 processIdentifierSchema (&$schema, $key)
 
 performFieldSchemaOperation ($operation, FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original=NULL)
 
 createDedicatedTableSchema (FieldStorageDefinitionInterface $storage_definition)
 
 createSharedTableSchema (FieldStorageDefinitionInterface $storage_definition, $only_save=FALSE)
 
 deleteDedicatedTableSchema (FieldStorageDefinitionInterface $storage_definition)
 
 deleteSharedTableSchema (FieldStorageDefinitionInterface $storage_definition)
 
 updateDedicatedTableSchema (FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)
 
 updateSharedTableSchema (FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)
 
 createEntitySchemaIndexes (array $entity_schema, FieldStorageDefinitionInterface $storage_definition=NULL)
 
 deleteEntitySchemaIndexes (array $entity_schema_data, FieldStorageDefinitionInterface $storage_definition=NULL)
 
 hasNullFieldPropertyData ($table_name, $column_name)
 
 getSharedTableFieldSchema (FieldStorageDefinitionInterface $storage_definition, $table_name, array $column_mapping)
 
 addSharedTableFieldIndex (FieldStorageDefinitionInterface $storage_definition, &$schema, $not_null=FALSE, $size=NULL)
 
 addSharedTableFieldUniqueKey (FieldStorageDefinitionInterface $storage_definition, &$schema)
 
 addSharedTableFieldForeignKey (FieldStorageDefinitionInterface $storage_definition, &$schema, $foreign_table, $foreign_column)
 
 getDedicatedTableSchema (FieldStorageDefinitionInterface $storage_definition, ContentEntityTypeInterface $entity_type=NULL)
 
 getEntityIndexName (ContentEntityTypeInterface $entity_type, $index)
 
 getFieldIndexName (FieldStorageDefinitionInterface $storage_definition, $index)
 
 isTableEmpty ($table_name)
 
 hasColumnChanges (FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)
 
 getColumnSchemaRelevantKeys ()
 
 addIndex ($table, $name, array $specifier, array $schema)
 
 addUniqueKey ($table, $name, array $specifier)
 

Additional Inherited Members

- Public Member Functions inherited from SqlContentEntityStorageSchema
 __construct (EntityManagerInterface $entity_manager, ContentEntityTypeInterface $entity_type, SqlContentEntityStorage $storage, Connection $database)
 
 requiresEntityStorageSchemaChanges (EntityTypeInterface $entity_type, EntityTypeInterface $original)
 
 requiresFieldStorageSchemaChanges (FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)
 
 requiresEntityDataMigration (EntityTypeInterface $entity_type, EntityTypeInterface $original)
 
 requiresFieldDataMigration (FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)
 
 onEntityTypeCreate (EntityTypeInterface $entity_type)
 
 onEntityTypeUpdate (EntityTypeInterface $entity_type, EntityTypeInterface $original)
 
 onEntityTypeDelete (EntityTypeInterface $entity_type)
 
 onFieldStorageDefinitionCreate (FieldStorageDefinitionInterface $storage_definition)
 
 onFieldStorageDefinitionUpdate (FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)
 
 onFieldStorageDefinitionDelete (FieldStorageDefinitionInterface $storage_definition)
 
 finalizePurge (FieldStorageDefinitionInterface $storage_definition)
 
- Protected Attributes inherited from SqlContentEntityStorageSchema
 $entityManager
 
 $entityType
 
 $fieldStorageDefinitions
 
 $originalDefinitions
 
 $storage
 
 $schema
 
 $database
 
 $installedStorageSchema
 

Detailed Description

Defines the entity_test_update storage_schema handler.

Member Function Documentation

getEntitySchema ( ContentEntityTypeInterface  $entity_type,
  $reset = FALSE 
)
protected

{}

References EntityTypeInterface\getBaseTable(), EntityTypeInterface\id(), and Drupal\state().

Here is the call graph for this function:

getSharedTableFieldSchema ( FieldStorageDefinitionInterface  $storage_definition,
  $table_name,
array  $column_mapping 
)
protected

{}

References SqlContentEntityStorageSchema\addSharedTableFieldIndex(), FieldStorageDefinitionInterface\getName(), and Drupal\state().

Here is the call graph for this function:


The documentation for this class was generated from the following file: