SqlContentEntityStorageSchema::onFieldStorageDefinitionDelete

public SqlContentEntityStorageSchema::onFieldStorageDefinitionDelete(FieldStorageDefinitionInterface $storage_definition) Reacts to the deletion of a field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being deleted. Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 404 Class SqlContentEntityStorageSchema Defines a

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

SqlContentEntityStorageSchema::performFieldSchemaOperation

protected SqlContentEntityStorageSchema::performFieldSchemaOperation($operation, FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original = NULL) Performs the specified operation on a field. This figures out whether the field is stored in a dedicated or shared table and forwards the call to the proper handler. Parameters string $operation: The name of the operation to be performed. \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The

SqlContentEntityStorageSchema::processBaseTable

protected SqlContentEntityStorageSchema::processBaseTable(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 1002 Class SqlContentEntityStorageSchema De

SqlContentEntityStorageSchema::onFieldStorageDefinitionCreate

public SqlContentEntityStorageSchema::onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition) Reacts to the creation of a field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The definition being created. Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 385 Class SqlContentEntityStorageSchema Defin

SqlContentEntityStorageSchema::loadFieldSchemaData

protected SqlContentEntityStorageSchema::loadFieldSchemaData(FieldStorageDefinitionInterface $storage_definition) Loads stored schema data for the given field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. Return value array The field schema data array. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 809 Class SqlContentEntityStorageSchema Defines a schema handler that suppo

SqlContentEntityStorageSchema::onEntityTypeDelete

public SqlContentEntityStorageSchema::onEntityTypeDelete(EntityTypeInterface $entity_type) Reacts to the deletion of the entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type being deleted. Overrides EntityTypeListenerInterface::onEntityTypeDelete File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 344 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace

SqlContentEntityStorageSchema::onEntityTypeCreate

public SqlContentEntityStorageSchema::onEntityTypeCreate(EntityTypeInterface $entity_type) Reacts to the creation of the entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type being created. Overrides EntityTypeListenerInterface::onEntityTypeCreate File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 259 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace

SqlContentEntityStorageSchema::onEntityTypeUpdate

public SqlContentEntityStorageSchema::onEntityTypeUpdate(EntityTypeInterface $entity_type, EntityTypeInterface $original) Reacts to the update of the entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The updated entity type definition. \Drupal\Core\Entity\EntityTypeInterface $original: The original entity type definition. Overrides EntityTypeListenerInterface::onEntityTypeUpdate File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 292 Clas

SqlContentEntityStorageSchema::isTableEmpty

protected SqlContentEntityStorageSchema::isTableEmpty($table_name) Checks whether a database table is non-existent or empty. Empty tables can be dropped and recreated without data loss. Parameters string $table_name: The database table to check. Return value bool TRUE if the table is empty, FALSE otherwise. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1926 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable