You are here

function themekey_features_rule_chain_features_export in ThemeKey 7.3

Same name and namespace in other branches
  1. 6.4 themekey_features.module \themekey_features_rule_chain_features_export()
  2. 6.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()

Implements hook_features_export().

File

./themekey_features.module, line 39

Code

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

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