hook_entity_update() is not called for new entities, but those entities still may need indexing.
Suggested solution: do what search_api module does (i.e. have both hook_entity_insert() _and_ hook_entity_update())
hook_entity_update() is not called for new entities, but those entities still may need indexing.
Suggested solution: do what search_api module does (i.e. have both hook_entity_insert() _and_ hook_entity_update())
Comments
Comment #3
valthebald