function themekey_features_get_rule_cascade_string in ThemeKey 7.3
Same name and namespace in other branches
- 7.2 themekey_features.module \themekey_features_get_rule_cascade_string()
2 calls to themekey_features_get_rule_cascade_string()
File
- ./
themekey_features.module, line 251
Code
function themekey_features_get_rule_cascade_string($rule) {
$string = trim($rule['string'], '"');
if (!empty($rule['childs'])) {
return preg_replace('/>>>.+$/', '>>> ... ' . t('rule cascade'), $string);
}
return $string;
}