You are here

public function EntityUsageTrackInterface::trackOnEntityDeletion in Entity Usage 8

Track usage updates on the deletion of entities.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The entity we are dealing with.

1 method overrides EntityUsageTrackInterface::trackOnEntityDeletion()
EntityUsageTrackBase::trackOnEntityDeletion in src/EntityUsageTrackBase.php
Track usage updates on the deletion of entities.

File

src/EntityUsageTrackInterface.php, line 66

Class

EntityUsageTrackInterface
Defines the interface for entity_usage track methods.

Namespace

Drupal\entity_usage

Code

public function trackOnEntityDeletion(ContentEntityInterface $entity);