Closed (fixed)
Project:
Drupal core
Version:
8.8.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2020 at 15:31 UTC
Updated:
23 May 2020 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
b2f commentedComment #4
kristen polThanks for the patch.
1) Patch applies cleanly to 8.9, 9.0, and 9.1.
2) Searching the code before the patch for "default widget" and only found the item from the patch (other than in comments):
3) After patch,
default widgetis changed todefault_widgetas expected.4) Marking RTBC though not sure this needs manual testing.
Comment #5
kristen polComment #6
xjmComment #11
xjmThanks, good catch. It is indeed
default_widget, as can be seen in the code that responds to it in\Drupal\Core\Field\WidgetPluginManager:(Or, for that matter, in the annotation of every field type plugin... I don't know that spaces are even possible in annotation keys since the annotation definitions are mapped onto variables in each annotation class.)
Committed to 9.1.x and cherry-picked to 9.0.x, 8.9.x, and 8.8.x as a patch-eligible documentation bugfix. Thanks!