You are here

function themekey_features_rule_chain_features_export in ThemeKey 6.3

Same name and namespace in other branches
  1. 6.4 themekey_features.module \themekey_features_rule_chain_features_export()
  2. 7.3 themekey_features.module \themekey_features_rule_chain_features_export()
  3. 7 themekey_features.module \themekey_features_rule_chain_features_export()
  4. 7.2 themekey_features.module \themekey_features_rule_chain_features_export()

Implementation of hook_features_export().

File

./themekey_features.module, line 36

Code

function themekey_features_rule_chain_features_export($data, &$export, $module_name = '') {
  $export['dependencies']['features'] = 'features';
  $export['dependencies']['themekey_features'] = 'themekey_features';

  // TODO set dependencies to providers of each single themekey property
  foreach ($data as $rule_md5) {
    $export['features']['themekey_features_rule_chain'][$rule_md5] = $rule_md5;
  }
  return array();
}