function themekey_load_rules in ThemeKey 7.3
Same name and namespace in other branches
- 6.4 themekey_build.inc \themekey_load_rules()
- 6.2 themekey_build.inc \themekey_load_rules()
- 6.3 themekey_build.inc \themekey_load_rules()
- 7 themekey_build.inc \themekey_load_rules()
- 7.2 themekey_build.inc \themekey_load_rules()
Loads all ThemeKey Rules from the database. Therefore, it uses recursion to build the rule chains.
Return value
sorted array containing all ThemeKey rules
4 calls to themekey_load_rules()
- ThemekeyWebTestCase::addThemeKeyRule in tests/
themekey.test - themekey_abstract_rule_disable in ./
themekey_build.inc - themekey_features_graceful_rule_deletion in ./
themekey_features.module - Deletes all rules related to this feature, except that the administrator added childs
- themekey_features_rule_chain_features_disable_feature in ./
themekey_features.module - Implements hook_features_disable_feature().
1 string reference to 'themekey_load_rules'
- themekey_rule_chain_form in ./
themekey_admin.inc - Form builder for the rule chain.
File
- ./
themekey_build.inc, line 279 - The functions in this file are the back end of ThemeKey which should be used only if you configure something, but not when ThemeKey switches themes.
Code
function themekey_load_rules() {
return themekey_abstract_load_rules('themekey_properties');
}