You are here

function filter_configuration_rebuild in Configuration Management 7

Implements hook_configuration_rebuild().

1 call to filter_configuration_rebuild()
filter_configuration_revert in includes/configuration.filter.inc
Implements hook_configuration_revert().

File

includes/configuration.filter.inc, line 89

Code

function filter_configuration_rebuild($identifiers, $module_name = 'configuration') {
  if ($defaults = configuration_get_default('filter', $module_name)) {
    foreach ($defaults as $identifier => $format) {
      if (in_array($identifier, $identifiers) || !empty($identifiers) && $identifiers[0] == '#import_all') {
        $format = (object) $format;
        filter_format_save($format);
      }
    }
  }
}