Fixed
Project:
Drupal core
Version:
11.x-dev
Component:
options.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Sep 2026 at 09:49 UTC
Updated:
1 Oct 2026 at 08:49 UTC
Jump to comment: Most recent
Comments
Comment #3
berdirComment #4
smustgrave commentedGoing to mark but I'm 50/50, it's a new method so if ever a good time to get the return type in wouldn't it be now? Will see what committers think, fine either way.
Comment #5
mstrelan commentedMaybe we can just revert it from 11.x?
Comment #6
berdir> Going to mark but I'm 50/50, it's a new method so if ever a good time to get the return type in wouldn't it be now? Will see what committers think, fine either way.
It's a new method, but it's on a base class and implements an interface, so most subclasses already have it too and then it's like changing an existing one.
No strong opinion on revert on 11.x or not, I didn't look at thee original issue closely enough if it fixed any problems or was pure refactoring.
Comment #7
mstrelan commentedDiscussed in Slack with @catch and we agreed we can probably do this in 11.x and leave the return type in main / 12.0.x.
Comment #9
longwaveCommitted and pushed a004899978e to 11.x. Thanks!
Doesn't need to go to 12.0.x/main as discussed, and wasn't present in 11.4.x either, so this is the only branch that needs fixing.
Comment #11
longwave