function system_patterns_cleanup in Patterns 7.2
Same name and namespace in other branches
- 7 patterns_components/components/system.inc \system_patterns_cleanup()
Cleanup any global settings after the action runs
Parameters
string $action:
string $tag:
array $data:
File
- patterns_components/
components/ system.inc, line 497
Code
function system_patterns_cleanup($action, $tag, &$data) {
if ($tag == 'module') {
menu_rebuild();
// TODO: only do this if there has been a module enabled/disabled
}
return patterns_results();
}