function uc_dropdown_attributes_admin_theme in Dropdown Attributes 7
Same name and namespace in other branches
- 8 uc_dropdown_attributes.module \uc_dropdown_attributes_admin_theme()
Determine the correct theme to use for dependencies admin page.
Return value
string theme to use or empty string if default theme.
1 string reference to 'uc_dropdown_attributes_admin_theme'
- uc_dropdown_attributes_menu in ./
uc_dropdown_attributes.module - Implements hook_menu().
File
- ./
uc_dropdown_attributes.module, line 759 - Show/hide attributes based on the values of other attributes.
Code
function uc_dropdown_attributes_admin_theme() {
if (variable_get('node_admin_theme', 0) == 1) {
return variable_get('admin_theme', '');
}
return '';
}