You are here

function rb_theme_action_set_body_class in Rules Bonus Pack 7

The 'rb_misc_action_set_body_class' action.

File

./rb_theme.rules.inc, line 52
Rules actions to modify the theme. Plus some helper functions.

Code

function rb_theme_action_set_body_class($classes) {

  // Store the value in a static variable that we can use in our
  // implementation of hook_preprocess_html()
  rb_theme_static('classes_array', $classes);
}