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
424 B
15 lines
424 B
<?php |
|
|
|
/** |
|
* Implements hook_views_data_alter(). |
|
*/ |
|
function islandora_mirador_annotations_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', |
|
], |
|
]; |
|
}
|
|
|