You are here

function search_api_attachments_file_update in Search API attachments 8

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

Implements hook_ENTITY_TYPE_update().

File

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

Code

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