public function SqlContentEntityStorageSchema::finalizePurge

public SqlContentEntityStorageSchema::finalizePurge(FieldStorageDefinitionInterface $storage_definition)

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 448

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!SqlContentEntityStorageSchema.php/function/SqlContentEntityStorageSchema::finalizePurge/8.1.x