You are here

function hansel_import_settings in Hansel breadcrumbs 8

Same name and namespace in other branches
  1. 7 hansel.export.inc \hansel_import_settings()

Import Hansel settings.

Parameters

array $settings:

2 calls to hansel_import_settings()
hansel_features_rebuild in ./hansel.features.inc
Implements hook_features_rebuild().
hansel_features_revert in ./hansel.features.inc
Implements hook_features_revert().

File

./hansel.export.inc, line 136

Code

function hansel_import_settings($settings) {
  foreach ($settings['variables'] as $name => $value) {
    variable_set($name, $value);
  }
}