function media_dialog_get_theme_name in D7 Media 7.4
Same name and namespace in other branches
- 7 media.module \media_dialog_get_theme_name()
- 7.2 media.module \media_dialog_get_theme_name()
- 7.3 media.module \media_dialog_get_theme_name()
Theme callback used to identify when we are in a popup dialog.
Generally the default theme will look terrible in the media browser. This will default to the administration theme, unless set otherwise.
2 string references to 'media_dialog_get_theme_name'
- media_menu in ./
media.module - Implements hook_menu().
- media_wysiwyg_menu in modules/
media_wysiwyg/ media_wysiwyg.module - Implements hook_menu().
File
- ./
media.module, line 541 - Media API
Code
function media_dialog_get_theme_name() {
return variable_get('media_dialog_theme', variable_get('admin_theme'));
}