You are here

function content_theme_get_content_wide_options in Content Theme 6

Same name and namespace in other branches
  1. 7.2 content_theme.module \content_theme_get_content_wide_options()
  2. 7 content_theme.module \content_theme_get_content_wide_options()

Helper functions.

1 call to content_theme_get_content_wide_options()
content_theme_admin_content_wide in ./content_theme.admin.inc
Menu callback; configures content wide themes.

File

./content_theme.module, line 283
This module allows to use different themes than the site default on content creating, editing, and viewing pages.

Code

function content_theme_get_content_wide_options() {
  static $options = array();
  if (!$options) {
    $options['0'] = '- ' . t('System default theme') . ' -';
    $options += content_theme_get_themes();
  }
  return $options;
}