<?php
/**
 * Implements hook_views_data().
 *
 * I want to use the query parameter to generate sublinks to subterms by inheriting from current page.
 */
function rufi_structure_views_data(): array
{
  $data = [];
  $data['views']['query_param_node_type'] = [
    'title' => t('Query Parameter: Node Type'),
    'help' => t('Displays the node_type from the URL query parameters.'),
    'field' => [
      'id' => 'query_param_node_type_field',
    ],
  ];
  return $data;
}
