Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"drupal/admin_toolbar": "^3.1",
"drupal/advanced_search": "^2.1",
"drupal/better_exposed_filters": "^7.0",
"drupal/blockgroup": "^2.0",
"drupal/citation_select": "^2.0@beta",
"drupal/coi": "^4.0",
"drupal/config_update": "^2.0@alpha",
Expand Down Expand Up @@ -127,6 +128,9 @@
]
},
"patches": {
"drupal/islandora": {
"Allow node_has_term and node_is_islandora_object conditions to be used in Block visibility": "https://patch-diff.githubusercontent.com/raw/Islandora/islandora/pull/1084.patch"
},
"twistor/flysystem-stream-wrapper": {
"PHP 8.2 deprecation warning": "assets/patches/flysystem-stream-wrapper.patch"
}
Expand Down
60 changes: 58 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions config/sync/block.block.creatorsandcontributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ dependencies:
module:
- context
- facets
- islandora
theme:
- olivero
_core:
Expand All @@ -26,11 +25,6 @@ settings:
context_mapping: { }
block_id: creatorsandcontributors
visibility:
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
user_status:
id: user_status
negate: false
Expand Down
26 changes: 2 additions & 24 deletions config/sync/block.block.creatorsandcontributors_swc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ dependencies:
config:
- facets.facet.creators_and_contributors_swc
module:
- context
- facets
- islandora
theme:
- olivero
id: creatorsandcontributors_swc
theme: olivero
region: sidebar
region: collection_sidebar_region
weight: -12
provider: null
plugin: 'facet_block:creators_and_contributors_swc'
Expand All @@ -23,24 +21,4 @@ settings:
provider: facets
context_mapping: { }
block_id: creatorsandcontributors_swc
visibility:
user_status:
id: user_status
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
user_status:
viewing_profile: '0'
logged_viewing_profile: '0'
own_page_true: '0'
field_value: '0'
user_fields: uid
context_all:
id: context_all
negate: null
values: collection
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
visibility: { }
6 changes: 0 additions & 6 deletions config/sync/block.block.memberof.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ dependencies:
module:
- context
- facets
- islandora
theme:
- olivero
id: memberof
Expand Down Expand Up @@ -35,11 +34,6 @@ visibility:
own_page_true: '0'
field_value: '0'
user_fields: uid
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
view_inclusion:
id: view_inclusion
negate: false
Expand Down
26 changes: 2 additions & 24 deletions config/sync/block.block.memberofswc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ dependencies:
config:
- facets.facet.member_of_swc
module:
- context
- facets
- islandora
theme:
- olivero
id: memberofswc
theme: olivero
region: sidebar
region: collection_sidebar_region
weight: 1
provider: null
plugin: 'facet_block:member_of_swc'
Expand All @@ -23,24 +21,4 @@ settings:
provider: facets
context_mapping: { }
block_id: memberofswc
visibility:
user_status:
id: user_status
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
user_status:
viewing_profile: '0'
logged_viewing_profile: '0'
own_page_true: '0'
field_value: '0'
user_fields: uid
context_all:
id: context_all
negate: null
values: collection
media_source_mimetype:
id: media_source_mimetype
negate: false
context_mapping: { }
mimetype: ''
visibility: { }
33 changes: 33 additions & 0 deletions config/sync/block.block.olivero_citationselectblock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
uuid: 20a29e83-1e3f-4113-b45f-ec07191930f8
langcode: en
status: true
dependencies:
module:
- citation_select
- islandora
theme:
- olivero
id: olivero_citationselectblock
theme: olivero
region: content
weight: -20
provider: null
plugin: citation_select_block
settings:
id: citation_select_block
label: 'Citation Select Block'
label_display: '0'
provider: citation_select
visibility:
node_has_term:
id: node_has_term
negate: true
context_mapping:
node: '@node.node_route_context:node'
uri: 'http://purl.org/dc/dcmitype/Collection'
logic: and
node_is_islandora_object:
id: node_is_islandora_object
negate: 0
context_mapping:
node: '@node.node_route_context:node'
30 changes: 30 additions & 0 deletions config/sync/block.block.olivero_collectioncontentregion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: f23baf7c-bbe3-4494-955b-16813f3f1137
langcode: en
status: true
dependencies:
config:
- blockgroup.block_group_content.collection_content_region
module:
- blockgroup
- islandora
theme:
- olivero
id: olivero_collectioncontentregion
theme: olivero
region: content
weight: -21
provider: null
plugin: 'block_group:collection_content_region'
settings:
id: 'block_group:collection_content_region'
label: 'Collection (Content region)'
label_display: '0'
provider: blockgroup
visibility:
node_has_term:
id: node_has_term
negate: false
context_mapping:
node: '@node.node_route_context:node'
uri: 'http://purl.org/dc/dcmitype/Collection,http://vocab.getty.edu/aat/300242735'
logic: or
30 changes: 30 additions & 0 deletions config/sync/block.block.olivero_collectionsidebarregion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: 569ab1f9-e0e9-4e25-a1af-0e9d57fbe60c
langcode: en
status: true
dependencies:
config:
- blockgroup.block_group_content.collection_sidebar_region
module:
- blockgroup
- islandora
theme:
- olivero
id: olivero_collectionsidebarregion
theme: olivero
region: sidebar
weight: 0
provider: null
plugin: 'block_group:collection_sidebar_region'
settings:
id: 'block_group:collection_sidebar_region'
label: 'Collection (Sidebar region)'
label_display: '0'
provider: blockgroup
visibility:
node_has_term:
id: node_has_term
negate: false
context_mapping:
node: '@node.node_route_context:node'
uri: 'http://purl.org/dc/dcmitype/Collection,http://vocab.getty.edu/aat/300242735'
logic: or
2 changes: 1 addition & 1 deletion config/sync/block.block.olivero_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _core:
id: olivero_content
theme: olivero
region: content
weight: -11
weight: -22
provider: null
plugin: system_main_block
settings:
Expand Down
29 changes: 29 additions & 0 deletions config/sync/block.block.olivero_miradorblock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: 5865823a-befd-4e7a-9a11-d26688646218
langcode: en
status: true
dependencies:
module:
- islandora
- islandora_mirador
theme:
- olivero
id: olivero_miradorblock
theme: olivero
region: repository_item_media_viewers
weight: 0
provider: null
plugin: mirador_block
settings:
id: mirador_block
label: 'Mirador Block - Multipaged items'
label_display: '0'
provider: islandora_mirador
iiif_manifest_url: '/node/[node:nid]/book-manifest'
visibility:
node_has_term:
id: node_has_term
negate: false
context_mapping:
node: '@node.node_route_context:node'
uri: 'https://schema.org/Book,https://schema.org/PublicationIssue'
logic: or
29 changes: 29 additions & 0 deletions config/sync/block.block.olivero_miradorblock_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: b1c03eb9-3cee-4d2e-893b-4d24940d9556
langcode: en
status: true
dependencies:
module:
- islandora
- islandora_mirador
theme:
- olivero
id: olivero_miradorblock_2
theme: olivero
region: repository_item_media_viewers
weight: 0
provider: null
plugin: mirador_block
settings:
id: mirador_block
label: 'Mirador block - Single image items'
label_display: '0'
provider: islandora_mirador
iiif_manifest_url: '/node/[node:nid]/manifest'
visibility:
node_has_term:
id: node_has_term
negate: false
context_mapping:
node: '@node.node_route_context:node'
uri: 'https://projectmirador.org'
logic: and
Loading
Loading