function search_api_attachments_file_delete in Search API attachments 9.0.x
Same name and namespace in other branches
- 8 search_api_attachments.module \search_api_attachments_file_delete()
- 7 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);
}