From daf6232be700d8d34cad645a975f86c94bea93df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 27 Dec 2018 01:15:15 -0500 Subject: [PATCH] Disable 'Related Content' block on person nodes Ref #110 --- ...views_block__related_content_block_related_content.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/sync/block.block.agarica_views_block__related_content_block_related_content.yml b/config/sync/block.block.agarica_views_block__related_content_block_related_content.yml index fc9520a..5c36191 100644 --- a/config/sync/block.block.agarica_views_block__related_content_block_related_content.yml +++ b/config/sync/block.block.agarica_views_block__related_content_block_related_content.yml @@ -6,6 +6,7 @@ dependencies: - views.view.related_content module: - block_visibility_groups + - ctools - views theme: - agarica @@ -31,3 +32,10 @@ visibility: negate: false block_visibility_group: '' context_mapping: { } + 'entity_bundle:node': + id: 'entity_bundle:node' + bundles: + people: people + negate: true + context_mapping: + node: '@node.node_route_context:node'