Skip to content
Snippets Groups Projects

ISTWCMS-5127: adding layout builder browser for services

Merged Eric Bremner requested to merge feature/ISTWCMS-5127-ebremner-services-blocks-gui into 1.0.x
2 files
+ 24
18
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -139,7 +139,9 @@ class UwNodeContent {
$node_flags['get_hero'] = TRUE;
}
elseif ($view_mode == 'teaser') {
$node_flags['get_footer'] = FALSE;
if ($node->getType() !== 'uw_ct_contact') {
$node_flags['get_footer'] = FALSE;
}
$node_flags['get_listing_image'] = TRUE;
$node_flags['get_title'] = TRUE;
}
@@ -453,7 +455,7 @@ class UwNodeContent {
// Setup the actual content.
if ($node_flags['get_content']) {
$content_data['content'] = $this->addToContentData('content', 'field_uw_news_summary');
$content_data['content'] = $this->addToContentData('content', NULL);
}
// Get the footer data.
Loading