Install

Works with Drupal: ^9.2 || ^10.1 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 16.21 KB
MD5: 7e4cde2b0c82f1b278e8950a2ff45aa0
SHA-1: a840df010f35eb6c8f102424979071830321160a
SHA-256: 8fe09bb2468c9326c807b6a7fee5eaeb5d6665a9bf890e36f91ba5b3ac11a180
Download zip 30.38 KB
MD5: 22aa4f008cd2988591262a96f17cb387
SHA-1: 00c29b724cea7da6f3b51f891cee266849f97a0e
SHA-256: 070c61e833144927fffe6cf7e90cb7627be6465ac04cdf384016ee44d4e2249e

Release notes

New filter plugins

  • #3266524 — Support the "Combined fields" Views filter. Tokens now work in filters that search across multiple fields.
  • #3477160 — Support numeric/text select (list_field) filters. Tokens are replaced element-wise in multi-select values;
    scalar exposed values are supported too.
  • #3394994 — Support the geofield_proximity_filter from the Geofield contrib module. Tokens are resolved both in the exposed
    origin/lat/lon value and in the pre-configured "Manual origin" options. Also closes #3211924.

Bug fixes

  • #3499480 (critical, RTBC) — WSOD when filtering by a Date field on Drupal 10.4+. Adds the : void return
    type to TokensDateFilterTrait::validateExposed() so its signature matches the parent Date filter. Thanks to i-trokhanenko, drupalfan2, Aleksey
    Zubenko
    and the Project Update Bot for the MR history. Also fixes #3533491 and href="https://www.drupal.org/project/token_views_filter/issues/3531893">#3531893.
  • #3419264 — Fix typo enttiyentity in filter plugin token data. Now [entity:*] tokens correctly
    resolve to the current view row's entity. Thanks to Alezu.
  • #3318173 — "Use tokens" checkbox disappears when other contrib modules also implement
    hook_views_plugins_filter_alter. We now reorder our alter to run last via hook_module_implements_alter(). Thanks to steveoriol. Also effectively addresses href="https://www.drupal.org/project/token_views_filter/issues/3083793">#3083793 (don't override whole original views filter).
  • #3121806 — PHP 7.4 token_element_children() notice was fixed upstream in the token module (issue href="https://www.drupal.org/project/token/issues/3154183">#3154183). Closed as fixed upstream.

Compatibility

  • Restore drush updb / site upgrade to Drupal 11.2 (root cause was the same as #3499480).
  • Modernize TokenViewsFilterTest for Drupal 11.2's ViewTestBase::setUp() signature.
  • Refactor use_tokens config schema — moved from a full-schema override to hook_config_schema_info_alter(). The old approach silently lost to core (Drupal's schema
    discovery does not merge same-key definitions across modules) and only worked in older core versions with looser schema checks. No runtime behaviour change; unblocks strict schema validation in Drupal 11.2+ functional
    tests.

Notes

  • Requirement is Drupal ^9.2 || ^10.1 || ^11 (unchanged from 2.1.0). Drupal 12 support is targeted separately by the new 3.x branch (development only for now).
  • Optional dev integration: composer require --dev drupal/geofield if you want phpstan/CI to resolve the geofield_proximity plugin.
  • The 8.x-1.x branch is no longer supported. Please move to 2.x.
Created by: validoll
Created on: 2 Jul 2026 at 12:15 UTC
Last updated: 2 Jul 2026 at 12:15 UTC
Bug fixes
New features

Other releases