You are here

function synonyms_search_synonym_insert in Synonyms 2.0.x

Same name and namespace in other branches
  1. 8 synonyms_search/synonyms_search.module \synonyms_search_synonym_insert()

Implements hook_ENTITY_TYPE_insert().

File

modules/synonyms_search/synonyms_search.module, line 41
Integrates Synonyms with core Search module.

Code

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