You are here

function key_config_features_export in Key 7.3

Same name and namespace in other branches
  1. 7 includes/key_config.features.inc \key_config_features_export()
  2. 7.2 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;
}