Closed (duplicate)
Project:
Drupal core
Version:
11.x-dev
Component:
field system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jul 2014 at 00:14 UTC
Updated:
18 Oct 2025 at 08:16 UTC
Jump to comment: Most recent
Comments
Comment #1
effulgentsia commentedTagging to match #2238085-7: [regression] options_allowed_values() signature doesn't allow for Views filter configuration, since this is a continuation of that original line of work before that issue became more targeted. Note, however, catch's comment immediately following that related to whether this could be done in a way that maintains enough API compatibility to go in after beta.
Setting priority to major instead of critical, since the critical part of that issue was a Views regression from D7 related specifically to list fields, which is addressed in that issue. Providing a unified, cross-field-type API might be nice, but I don't know what would justify that being critical.
Comment #2
xjmComment #3
fagoI do think the current situation is rather sub-optimal and I'd love to see a decent solution to be used that solves the problems outlined here and covers our other use cases on context definitions as well. Therefore, I opened #2329937: Allow definition objects to provide options for the proposed solution.
Comment #4
clemens.tolboomAnother use case would be #2332833: Allow range when editing a number field which could have a
<datalist />element containing key|value pairs.Comment #5
xjmTagging as a priority for a pre-AMS beta sprint.
Comment #6
catchComment #20
smustgrave commentedThank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #21
smustgrave commentedWanted to bump 1 more time, assuming still valid?
Comment #22
geek-merlinYes it is. The interface name changed, the problem persists.
The implemntation of OptionsProviderInterface should move from FieldItem to FieldDefinition, with deprecation dance.
Comment #23
geek-merlinComment #24
geek-merlinComment #25
geek-merlinComment #26
geek-merlin