You are here

public function TrackerInterface::deleteEntity in Menu Entity Index 8

Deletes all database records for the given host entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The deleted host entity.

1 method overrides TrackerInterface::deleteEntity()
Tracker::deleteEntity in src/Tracker.php
Deletes all database records for the given host entity.

File

src/TrackerInterface.php, line 19

Class

TrackerInterface
Defines an interface for classes tracking entities referenced by menu links.

Namespace

Drupal\menu_entity_index

Code

public function deleteEntity(EntityInterface $entity);