You are here

function glazed_helper_enable in Glazed Theme Helper 7

Implements hook_enable().

File

./glazed_helper.install, line 10
Install, update and uninstall functions for the module.

Code

function glazed_helper_enable() {
  if (drupal_get_path('theme', 'glazed')) {
    variable_set('media_dialog_theme', 'glazed');
  }
  elseif (drupal_get_path('theme', 'glazed_free')) {
    variable_set('media_dialog_theme', 'glazed_free');
  }
}