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

ISTWCMS-4704: adding node page for contact and updating preprocess for contact to include node page

parent 843e6a14
No related branches found
No related tags found
1 merge request!34ISTWCMS-4847: adding preprocess to main content area to add classes for 404...
<div class="layout uw-contained-width">
{% include '@components/contact/contact.twig' with {
'contact': contact,
'is_open': 'true',
} %}
</div>
......@@ -373,7 +373,7 @@ function uw_fdsu_theme_resp_preprocess_node(&$variables) {
unset($variables['content']);
}
if ($variables['node']->getType() == 'uw_ct_contact' && $variables['view_mode'] == 'teaser') {
if ($variables['node']->getType() == 'uw_ct_contact') {
// The UW service object.
$uwService = \Drupal::service('uw_cfg_common.uw_service');
......
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