Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Reference Filtering Link

Security covered Under active development 109 sites

Part of the Entity ecosystem · 306 projects

This module adds a new field formatter for entity reference fields that allows you to create links to pre-filtered search pages or views. You can configure the path, mode, and argument name for each field instance, and optionally exclude entities by label.

ABOUT

Entity Reference Filtering Link provides a new configurable field formatter
for entity reference fields. The filter lets you use tags on a node (or other
entity) to serve as links to a pre-filtered search page (or any view).

Per field instance, the path, mode and argument name can be specified. For
clarity with a base page of /search, argument name of tag, and a taxonomy
term "StarTrek" with id of 7 the following would be the resultant urls:

Mode Example URL Standard [$id] https://example.com/search?tag=7 Standard Multiple[] [$id] https://example.com/search?tag[]=7 Standard Double Bracketed Multiple[$id] [$id] https://example.com/search?tag[7]=7 Autocomplete [$label ($id)] https://example.com/search?tag=StarTrek (7) Facet - ID [$id] https://example.com/search?f[0]=tag:7 Facet - Label [$label] https://example.com/search?f[0]=tag:StarTrek Label [$label] https://example.com/search?tag=StarTrek

A second field formatter is provided with identical functionality other than an
added option to exclude some entities from the link by label.

REQUIREMENTS

Drupal 9 or 10. Field UI is strongly recommended for configuration.

INSTALLATION

Install as you would normally install a contributed Drupal module. See the
install docs
if required in the Drupal documentation for further information.

CONFIGURATION

Configuration can be set as normal for field formatters through the Field UI.
For example, for an Entity Reference field on the Node type Article, that
would be on /admin/structure/types/manage/article/form-display.

CREDITS

Primarily developed with support from Taoti Creative.

Special thanks to Charles (Cleverington), Lucas (lucasgrecco) &
Santiago (nexonOSX) for their early feedback and testing.

FAQ

Any questions? Ask away on the issue queue or contact the maintainer.

Drupal 9–11

Ask your assistant about Entity Reference Filtering Link

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jan 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.1.2 Stable 9–11 Oct 19, 2024
1.1.1 Stable 9–10 Jan 25, 2023
1.1.x-dev Dev 9–11 Jan 25, 2023