Adds annotations to Mirador 4 implementation, Drupal 11 ready
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
423 B

<?php
/**
* Implements hook_views_data_alter().
*/
function islandora_mirador_annotation_views_data_alter(array &$data) {
$data['node_field_data']['has_annotated_member_pages'] = [
'title' => t('Has annotated member pages'),
'help' => t('Whether this node has member nodes containing Mirador annotations.'),
'filter' => [
'id' => 'has_annotated_member_pages',
'type' => 'yes-no',
],
];
}