function themekey_features_rule_chain_features_export_options in ThemeKey 7.2
Same name and namespace in other branches
- 6.4 themekey_features.module \themekey_features_rule_chain_features_export_options()
- 6.3 themekey_features.module \themekey_features_rule_chain_features_export_options()
- 7.3 themekey_features.module \themekey_features_rule_chain_features_export_options()
- 7 themekey_features.module \themekey_features_rule_chain_features_export_options()
Implements hook_features_export_options().
File
- ./
themekey_features.module, line 21
Code
function themekey_features_rule_chain_features_export_options() {
$options = array();
$rules = themekey_features_load_rule_childs();
if (!empty($rules)) {
foreach ($rules as $rule) {
$string = themekey_features_get_rule_cascade_string($rule);
$options[$string] = $string;
}
}
return $options;
}