You are here

function key_config_features_export in Key 7.2

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

Implements hook_features_export().

File

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

Code

function key_config_features_export($data, &$export, $module_name) {
  $pipe = array();
  $export['dependencies']['key'] = 'key';
  foreach ($data as $component) {
    $export['features']['key_config'][$component] = $component;
  }
  return $pipe;
}