$display_options['fields'
]['title'
]['plugin_id'
] = 'field';
break;
} } /**
* Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::buildFilters().
*
* Add some options for filter by taxonomy terms.
*/
protected function buildFilters(&
$form, FormStateInterface
$form_state) { parent::
buildFilters($form,
$form_state);
if (isset($form['displays'
]['show'
]['type'
])) { $selected_bundle =
static::
getSelected($form_state,
['show', 'type'
], 'all',
$form['displays'
]['show'
]['type'
]);
} // Add the "tagged with" filter to the view.
// We construct this filter using taxonomy_index.tid (which limits the
// filtering to a specific vocabulary) rather than
// taxonomy_term_field_data.name (which matches terms in any vocabulary).
// This is because it is a more commonly-used filter that works better with