Problem/Motivation

The field types from PluginCollectionItemDeriver each have their own category on the "Add field" form.

Steps to reproduce

In the annotation on PluginCollectionItem, replace "category = @Translation("Plugin")," with "category = "plugin",".
Add a plugin.field_type_categories.yml, with this code:

plugin:
  label: 'Plugin'
  description: 'Field types based on plugin types.'
  weight: 5

(I have no opinion on the weight)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

donquixote created an issue. See original summary.

donquixote’s picture

Issue summary: View changes
joachim’s picture

> In the annotation on PluginCollectionItem, replace "category = @Translation("Plugin")," with "category = "plugin",".

I consider this to be a bug in core: #3427442: [Regression] pre-10.2 field type categories as translatable strings don't work any more

I'll fix it here (because it's a PITA when using Plugin) , but core should not have broken this!!!