Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
field_ui.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Aug 2023 at 10:48 UTC
Updated:
7 Sep 2023 at 14:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
srishtiiee commentedComment #3
srishtiiee commentedComment #4
amateescu commentedCould be as simple as this :)
Comment #5
wim leers@amateescu LGTM!
P.S.: I do think it's still slightly confusing, but this is out of scope. What do you think, @amateescu and others?
This is the thing that makes it confusing IMHO: the constant says "fallback", but it's really the "general" category.
Renaming the constant would make this clearer.
And we can still do that because this didn't ship in any release!🤞🤓
Comment #7
lauriiiI think we called it a fallback category because it has some special functionality, see
\Drupal\Core\Field\FallbackFieldTypeCategory. It's also not rendered like other categories. Items in this category are rendered on their own, without a category, meaning it's not a real category. If we want to consider renaming or changing it, let's do that in a follow-up issue.Committed 1ea295c and pushed to 11.x. Thanks!