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

ISTWCMS-4704: fixing featured image on node

parent 2a8d3e85
No related branches found
No related tags found
1 merge request!34ISTWCMS-4847: adding preprocess to main content area to add classes for 404...
......@@ -398,9 +398,9 @@ function uw_fdsu_theme_resp_preprocess_block(&$variables) {
// If we do then, set variable to not show page title.
if ($variables['plugin_id'] == 'page_title_block') {
// Set the featured image variable to false, we will only
// Set the featured image variable to no, we will only
// change if there is a featured image.
$variables['featured_image'] = FALSE;
$variables['featured_image'] = 'no';
// Load the node.
$node = \Drupal::routeMatch()->getParameter('node');
......
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