Commit d4d6ef83 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4619: updating to use new refactored code

parent 64e50246
......@@ -43,7 +43,7 @@ function uw_ct_event_preprocess_node(&$variables) {
$uwService = \Drupal::service('uw_cfg_common.uw_service');
// Get the teaser variables.
$variables['teaser'] = $uwService->uwGetNodeContent($variables['node'], 'events', 'teaser', 'all');
$variables['teaser'] = $uwService->uwGetNodeContent($variables['node'], 'teaser', 'all');
// Unset the content variable, so that we do not get
// a second print of all the content.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment