Skip to content
Snippets Groups Projects

ISTWCMS-5970 Opportunity tab title in multi-type list should be pluralized

1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
@@ -160,6 +160,12 @@ class UwCblMultiTypeList extends BlockBase implements ContainerFactoryPluginInte
}
}
// If the node type is 'Opportunity', opportunity tab title
// in multi-type list should be 'Opportunities'.
if ($node_type == 'Opportunity') {
$node_type = 'Opportunities';
}
// Now set the list content.
$lists[$node_type][] = $content;
}
Loading