function views_ui_custom_theme

Implements hook_custom_theme().

1 string reference to 'views_ui_custom_theme'
views_ui_admin_settings_basic in includes/admin.inc
Form builder for the admin display defaults page.

File

./views_ui.module, line 282

Code

function views_ui_custom_theme() {
    $theme = variable_get('views_ui_custom_theme', '_default');
    if ($theme != '_default') {
        $available = list_themes();
        if (isset($available[$theme]) && $available[$theme]->status && preg_match('/^admin\\/structure\\/views/', current_path())) {
            return $theme;
        }
    }
}