You are here

function taxonomy_entity_index_field_delete_instance in Taxonomy Entity Index 7

Implements hook_field_delete_instance().

File

./taxonomy_entity_index.module, line 22

Code

function taxonomy_entity_index_field_delete_instance($instance) {
  db_delete('taxonomy_entity_index')
    ->condition('field_name', $instance['field_name'])
    ->condition('entity_type', $instance['entity_type'])
    ->condition('bundle', $instance['bundle'])
    ->execute();
}