You are here

function commerce_search_api_entity_insert in Commerce Search API 7

Implements hook_entity_insert().

File

./commerce_search_api.module, line 208
Provides Search API integration for Drupal Commerce.

Code

function commerce_search_api_entity_insert($entity, $type) {
  commerce_search_api_track_item_change($entity, $type);
}