function hansel_features_rebuild in Hansel breadcrumbs 8
Same name and namespace in other branches
- 7 hansel.features.inc \hansel_features_rebuild()
Implements hook_features_rebuild().
File
- ./
hansel.features.inc, line 68
Code
function hansel_features_rebuild($module_name) {
$config = module_invoke($module_name, 'hansel_default');
if (!empty($config)) {
foreach ($config as $element => $object) {
switch ($element) {
case 'config':
hansel_import_config($object);
break;
case 'settings':
hansel_import_settings($object);
break;
}
}
}
}