function defaultcontent_modules_disabled in Default Content 7.2
Same name and namespace in other branches
- 7 defaultcontent.module \defaultcontent_modules_disabled()
Implements hook_modules_disabled().
we want to remove default content on disable, but only content that has not been overridden
File
- ./
defaultcontent.module, line 553 - Module file for the Default content module which allow export and import of default content in a Drupal site.
Code
function defaultcontent_modules_disabled($modules) {
foreach ($modules as $module) {
defaultcontent_remove_default_content($module);
}
}