You are here

function themekey_features_rule_chain_features_export_options in ThemeKey 6.3

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

Implementation of hook_features_export_options().

File

./themekey_features.module, line 19

Code

function themekey_features_rule_chain_features_export_options() {
  $options = array();
  $rules = themekey_features_load_rule_childs();
  if (!empty($rules)) {
    foreach ($rules as $rule) {
      $options[md5(serialize($rule))] = $rule['string'];
    }
  }
  return $options;
}