function autosave_form_install in Autosave Form 8
Implements hook_install().
File
- ./
autosave_form.install, line 80 - Install, update and uninstall functions for the autosave_form module.
Code
function autosave_form_install() {
// For some reasons it might happen that the autosave form library is not
// loaded or the handler is missing because on module install those both
// cache entries have not been invalidated, therefore we do it manually here.
Cache::invalidateTags([
'entity_types',
'library_info',
]);
}