Updated: Comment #25
There's a duplicated set of field types in core (see Original report) but core's "initial field types does not have widgets and formatters.
Move email
and number
modules code into \Drupal\Core\Field\Plugin\Field
.
Inherit them for text and number module at least
figure out the core's default formatters|widgets
<!-- See https://drupal.org/core-mentoring/novice-tasks for tips on identifying novice tasks. Delete or add "Novice" from the Novice? column in the table below as appropriate. Uncomment tasks as the issue advances. Update the Complete? column to indicate when they are done, and maybe reference the comment number where they were done. -->tbd
no
Most base fields still use the "initial" set of field types that were introduced with the initial Entity/FieldNG patch.
Those have no widgets/formatters, and many of them duplicate the "configurable field types"
- Needless duplicates means confusion & memory clutter for field type plugin definitions
email / configurable email
string / text
timestamps
booleans...
- we are starting to leverage widgets/formatters on base fields
Several issues are touching this area:
-
#2010930: [META] Apply formatters and widgets to rendered entity base fields (all besides node.title) β
- sub-issues opened from
#2112239: Convert base field and property definitions β
π
Convert the description field of the 'aggregator_item' entity to a text field
Active
#2149859: Convert the 'field_id' base field on comment entities to an entity reference field β
- some other issue I can't find about user signature
- ...
We probably should:
1) take a broader overview of our current list of "base only" field types, and decide what to do with each of them.
2) then open sub issues per entity type and change the field types of their base fields accordingly (will probably affect the base table schemas)
Active
11.0 π₯
field system
Changes an existing API or subsystem. Not backportable to earlier major versions, unless absolutely required to fix a critical bug.
Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.