Skip to content
Snippets Groups Projects

Issue #3254252: A block isn't displayed in the node Preview mode

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -151,6 +151,7 @@ class Term extends ConditionPluginBase implements ContainerFactoryPluginInterfac
'taxonomy_term' => 'taxonomy_term',
'node' => 'node',
'node_revision' => 'node_revision',
'node_preview' => 'node_preview',
];
foreach ($potentialRouteMatches as $key => $potentialRouteMatch) {
$entity = \Drupal::routeMatch()->getParameter($potentialRouteMatch);
Loading