public function EntityUsageTrackBase::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.
Overrides EntityUsageTrackInterface::trackOnEntityDeletion
3 methods override EntityUsageTrackBase::trackOnEntityDeletion()
- EmbedBase::trackOnEntityDeletion in src/
Plugin/ EntityUsage/ Track/ EmbedBase.php - Track usage updates on the deletion of entities.
- EntityReference::trackOnEntityDeletion in src/
Plugin/ EntityUsage/ Track/ EntityReference.php - Track usage updates on the deletion of entities.
- Link::trackOnEntityDeletion in src/
Plugin/ EntityUsage/ Track/ Link.php - Track usage updates on the deletion of entities.
File
- src/
EntityUsageTrackBase.php, line 102
Class
- EntityUsageTrackBase
- Base implementation for track plugins.
Namespace
Drupal\entity_usageCode
public function trackOnEntityDeletion(ContentEntityInterface $entity) {
}