From 17c30884503aaedc65fda2be393eb1ee6e3564b6 Mon Sep 17 00:00:00 2001 From: ebremner <ebremner@uwaterloo.ca> Date: Wed, 8 Jan 2020 14:18:19 -0500 Subject: [PATCH] ISTWCMS-3558: coding standards --- uw_fdsu_theme_resp.theme | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme index 9d4940ad..22617b55 100644 --- a/uw_fdsu_theme_resp.theme +++ b/uw_fdsu_theme_resp.theme @@ -26,6 +26,7 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) { * Implements hook_preprocess_region(). */ function uw_fdsu_theme_resp_preprocess_region(&$variables) { + // Get the region from variables. $region = $variables['elements']['#region']; @@ -33,6 +34,7 @@ function uw_fdsu_theme_resp_preprocess_region(&$variables) { // TO DO: Store the colour scheme used for the theme // (i.e. faculty colour and get the correct class here). if ($region == "header") { + // The class that is used for the header. $variables['classes'][] = 'uw-header'; -- GitLab