Skip to content

Commit

Permalink
added var for non dm pages
Browse files Browse the repository at this point in the history
  • Loading branch information
boznik committed May 9, 2017
1 parent 0ffdc92 commit c119027
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stanford_soe_regions.module
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ function stanford_soe_regions_preprocess_page(&$variables) {
if (in_array('magazine', $magazine_parts)) {
$variables['dm_global_header'] = 'dm-global-header';
}
else {
$variables['dm_global_header'] = '';
}
}

/**
Expand Down

0 comments on commit c119027

Please sign in to comment.