function __domain_rules_themes in Domain Rules 7
Get simple list of themes themename=>themename
Return value
array
1 string reference to '__domain_rules_themes'
- domain_rules_rules_action_info in ./
domain_rules.module - Implements hook_rules_action_info(). Build select list and settings forms for actions
File
- ./
domain_rules.module, line 13 - domain_rules.module @description Port of 'Domain rules' by shushu for Drupal7
Code
function __domain_rules_themes() {
$themes = array();
foreach (list_themes() as $theme) {
$themes[$theme->name] = $theme->name;
}
return $themes;
}