You are here

function high_contrast_install in High contrast 7

Same name and namespace in other branches
  1. 6 high_contrast.install \high_contrast_install()

Implements hook_install().

File

./high_contrast.install, line 11
Install, update, and uninstall functions for the High Contrast module.

Code

function high_contrast_install() {

  // Set variables.
  variable_set("high_contrast_switcher_widget", "links");
  variable_set("high_contrast_switcher_label", "Contrast:");
  variable_set("high_contrast_high_label", "High");
  variable_set("high_contrast_separator", "|");
  variable_set("high_contrast_normal_label", "Normal");
  variable_set("high_contrast_css_styles", _high_contrast_get_default_css_styles());
}