Provide support for Views Entity Reference Filter (VERF)

Created on 31 July 2025, 2 days ago

Problem/Motivation

When an entity reference subfield is placed a custom field, the only filter types available in Views are plain text entry and autocomplete. VERF module provides a dropdown (select) input for entity reference fields but is not compatible with custom_field.

Steps to reproduce

Install custom_field and verf. Add an entity reference directly to an entity and also to a custom field, and populate both with data. Make a View and go to add filters -- you will see a VERF option for the direct entity reference field, but the only options for the subfield will be text entry and autocomplete.

Proposed resolution

Since VERF has approximately 9x the users of this module, I figure this one should be modified to support that one instead of the other way around.

Remaining tasks

Identify the best spot to intervene... VERF does its magic in hook_views_data_alter() rather than the hook_field_views_data() that custom_field uses.

✨ Feature request
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BenStallings

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024