You are here

function styleswitcher_element_info_alter in Style Switcher 7.2

Same name and namespace in other branches
  1. 8.2 styleswitcher.module \styleswitcher_element_info_alter()
  2. 3.0.x styleswitcher.module \styleswitcher_element_info_alter()

Implements hook_element_info_alter().

File

./styleswitcher.module, line 247
Module's hooks implementations and helper functions.

Code

function styleswitcher_element_info_alter(&$types) {
  $types['styles']['#pre_render'][] = 'styleswitcher_pre_render_styles';
}