You are here

function key_config_features_rebuild in Key 7.2

Same name and namespace in other branches
  1. 7.3 includes/key_config.features.inc \key_config_features_rebuild()
  2. 7 includes/key_config.features.inc \key_config_features_rebuild()

Implements hook_features_rebuild().

1 call to key_config_features_rebuild()
key_config_features_revert in includes/key_config.features.inc
Implements hook_features_revert().

File

includes/key_config.features.inc, line 62
Provides Features integration for managing keys.

Code

function key_config_features_rebuild($module) {
  $configs = module_invoke($module, 'key_default_configs');
  foreach ($configs as $key => $config) {
    key_save_config($config, FALSE);
  }
}