You are here

function search_api_attachments_file_delete in Search API attachments 8

Same name and namespace in other branches
  1. 7 search_api_attachments.module \search_api_attachments_file_delete()
  2. 9.0.x search_api_attachments.module \search_api_attachments_file_delete()

Implements hook_ENTITY_TYPE_delete().

File

./search_api_attachments.module, line 21
Implement hooks and help functions to delete extracted files cache content.

Code

function search_api_attachments_file_delete(File $file) {
  _search_api_attachments_delete_cache($file);
}