Skip to content

Commit

Permalink
Merge pull request #28 from Islandora/27-drupal-10
Browse files Browse the repository at this point in the history
Issue #27: Drupal 10 compatibility.
  • Loading branch information
rosiel authored Jul 19, 2023
2 parents 38570cc + 2a462b3 commit 6f2d837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion islandora_mirador.info.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Islandora Mirador'
type: module
description: 'Configuration for a Mirador Block'
core_version_requirement: ^8 || ^9
core_version_requirement: ^9.3 || ^10
package: 'Islandora'
dependencies:
- drupal:block
Expand Down
1 change: 1 addition & 0 deletions islandora_mirador.install
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function _islandora_mirador_term_exists() {
$query = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->getQuery()
->condition('vid', 'islandora_display')
->condition('field_external_uri.uri', 'https://projectmirador.org')
->accessCheck(FALSE)
->count();
$count = $query->execute();
return $count > 0;
Expand Down

0 comments on commit 6f2d837

Please sign in to comment.