You are here

public function SqlContentEntityStorageSchema::finalizePurge in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::finalizePurge()
  2. 10 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 823

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);
}