You are here

function system_variable_option_theme in Variable 7

Same name and namespace in other branches
  1. 7.2 includes/system.variable.inc \system_variable_option_theme()

Callback for theme options

1 string reference to 'system_variable_option_theme'
system_variable_type_info in includes/system.variable.inc
Implements hook_variable_type_info().

File

includes/system.variable.inc, line 285
Variable API module. Definition for Drupal core variables

Code

function system_variable_option_theme($variable, $options) {
  $list = array();
  foreach (list_themes() as $theme) {
    $list[$theme->name] = $theme->info['name'];
  }
  return $list;
}