You are here

function uc_dropdown_attributes_admin_theme in Dropdown Attributes 8

Same name and namespace in other branches
  1. 7 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.

File

./uc_dropdown_attributes.module, line 754
A module for uc_dropdown_attributes.

Code

function uc_dropdown_attributes_admin_theme() {
  if (variable_get('node_admin_theme', 0) == 1) {
    return variable_get('admin_theme', '');
  }
  return '';
}