Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_ct_event
Commits
d4d6ef83
Commit
d4d6ef83
authored
Jun 08, 2021
by
Eric Bremner
Browse files
ISTWCMS-4619: updating to use new refactored code
parent
64e50246
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
uw_ct_event.module
uw_ct_event.module
+1
-1
No files found.
uw_ct_event.module
View file @
d4d6ef83
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment