Skip to content
Snippets Groups Projects
Commit 17c30884 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3558: coding standards

parent d5c58ccf
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) { ...@@ -26,6 +26,7 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) {
* Implements hook_preprocess_region(). * Implements hook_preprocess_region().
*/ */
function uw_fdsu_theme_resp_preprocess_region(&$variables) { function uw_fdsu_theme_resp_preprocess_region(&$variables) {
// Get the region from variables. // Get the region from variables.
$region = $variables['elements']['#region']; $region = $variables['elements']['#region'];
...@@ -33,6 +34,7 @@ function uw_fdsu_theme_resp_preprocess_region(&$variables) { ...@@ -33,6 +34,7 @@ function uw_fdsu_theme_resp_preprocess_region(&$variables) {
// TO DO: Store the colour scheme used for the theme // TO DO: Store the colour scheme used for the theme
// (i.e. faculty colour and get the correct class here). // (i.e. faculty colour and get the correct class here).
if ($region == "header") { if ($region == "header") {
// The class that is used for the header. // The class that is used for the header.
$variables['classes'][] = 'uw-header'; $variables['classes'][] = 'uw-header';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment