You are here

function apachesolr_attachments_entity_insert in Apache Solr Attachments 7

Same name and namespace in other branches
  1. 6.3 apachesolr_attachments.module \apachesolr_attachments_entity_insert()

File

./apachesolr_attachments.module, line 543
Provides a file attachment search implementation for use with the Apache Solr module

Code

function apachesolr_attachments_entity_insert($entity, $type) {
  apachesolr_attachments_entity_update($entity, $type);
  if ($type == 'file') {
    _apachesolr_attachments_update_parent_entity($entity, $type);
  }
}