You are here

function search_api_algolia_entity_delete in Search API Algolia 3.0.x

Implements hook_entity_delete().

File

./search_api_algolia.module, line 97
Provides an Algolia Search based service class for the Search API.

Code

function search_api_algolia_entity_delete(EntityInterface $entity) {
  \Drupal::service('search_api_algolia.helper')
    ->entityDelete($entity);
}