Custom Views filter plugin in Drupal 9
Let's explore how to create a custom Views filter plugin in Drupal for filtering by start and end date (date range).
Let's explore how to create a custom Views filter plugin in Drupal for filtering by start and end date (date range).
Programmatically rendering a view with contextual filters is not something you need to do every day, but it's good to know that you can do it very easily. And you can do it in two different ways.