function filter_features_rebuild in Features 7
Same name and namespace in other branches
- 6 includes/features.filter.inc \filter_features_rebuild()
- 7.2 includes/features.filter.inc \filter_features_rebuild()
Implements hook_features_rebuild().
1 call to filter_features_rebuild()
- filter_features_revert in includes/
features.filter.inc - Implements hook_features_revert().
File
- includes/
features.filter.inc, line 89
Code
function filter_features_rebuild($module) {
if ($defaults = features_get_default('filter', $module)) {
foreach ($defaults as $format) {
$format = (object) $format;
filter_format_save($format);
}
}
}