Skip to content

Commit

Permalink
Use Content type as a condition instead of Node bundle. (#71)
Browse files Browse the repository at this point in the history
* Node bundle is a deprecated as a condition for context. It is being
  replaced in the repository_content context with Content type.
* Resolves Islandora/documentation#2148
  • Loading branch information
ruebot authored Aug 10, 2022
1 parent 917de98 commit 7b34ad2
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions config/install/context.context.repository_content.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
langcode: en
status: true
dependencies:
enforced:
module:
- islandora_defaults
module:
- islandora
- node
name: repository_content
enforced:
module:
- islandora_defaults
label: Content
name: repository_content
group: Indexing
description: 'All repository content'
requireAllConditions: false
disabled: false
conditions:
node_type:
id: node_type
bundles:
islandora_object: islandora_object
negate: 0
'entity_bundle:node':
id: 'entity_bundle:node'
negate: false
uuid: a3cfee79-6ab9-4e83-8c19-995dcbca2a44
context_mapping:
node: '@node.node_route_context:node'
bundles:
islandora_object: islandora_object
reactions:
index:
id: index
Expand Down

0 comments on commit 7b34ad2

Please sign in to comment.