Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Mar 2011 at 21:45 UTC
Updated:
29 Jul 2014 at 19:25 UTC
Similar to #1066274: hook_options_list should allow to pass the instance of a field , it would be nice to be able to modify the options list on the fly by another module. I believe that adding a hook_options_list_alter() would do the job nicely. However, we should probably wait on the other before submitting a patch, so we also have the instance available.
Comments
Comment #1
xjmTracking.
Comment #2
jibranRelated #1012640: Support grouping in allowed values for select list
Comment #3
swentel commentedThis is added in #1898434: Remove theme_options_none, use an alter hook instead for changing empty option label
- edit - sorry, wrong link