function socialblue_preprocess in Open Social 8.9
Same name and namespace in other branches
- 8.8 themes/socialblue/socialblue.theme \socialblue_preprocess()
Implements theme_preprocess().
File
- themes/
socialblue/ socialblue.theme, line 11 - The primary PHP file for the Social Blue theme.
Code
function socialblue_preprocess(&$variables, $hook, $info) {
// Add style variable to be able to attach new libraries and change templates.
$style = theme_get_setting('style');
if (!empty($style)) {
$variables['style'] = $style;
}
}