You are here

function synonyms_search_synonym_delete in Synonyms 8

Same name and namespace in other branches
  1. 2.0.x modules/synonyms_search/synonyms_search.module \synonyms_search_synonym_delete()

Implements hook_ENTITY_TYPE_delete().

File

synonyms_search/synonyms_search.module, line 55
Integrates Synonyms with core Search module.

Code

function synonyms_search_synonym_delete(EntityInterface $entity) {
  synonyms_search_synonym_reindex($entity);
}