projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
efc2dceaeaeb2f55deb60516b9872e563421de0d
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d7
/
hook
/
modules_uninstalled.twig
1
/**
2
* Implements hook_modules_uninstalled().
3
*/
4
function {{ machine_name }}_modules_uninstalled($modules) {
5
foreach ($modules as $module) {
6
db_delete('mymodule_table')
7
->condition('module', $module)
8
->execute();
9
}
10
mymodule_cache_rebuild();
11
}