You are here

public function SqlContentEntityStorageSchema::finalizePurge in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::finalizePurge()
  2. 9 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::finalizePurge()

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 812

Class

SqlContentEntityStorageSchema
Defines a schema handler that supports revisionable, translatable entities.

Namespace

Drupal\Core\Entity\Sql

Code

public function finalizePurge(FieldStorageDefinitionInterface $storage_definition) {
  $this
    ->performFieldSchemaOperation('delete', $storage_definition);
}