You are here

function defaultcontent_modules_disabled in Default Content 7

Same name and namespace in other branches
  1. 7.2 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 556
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);
  }
}