Problem/Motivation
Drupal 10.2 introduces a new API for defining field type categories https://www.drupal.org/node/3375748
This prevents to add a new field to a content type, produces error:
AssertionError: "Augmentor" must be defined in MODULE_NAME.field_type_categories.yml in assert() (line 186 of /app/web/core/lib/Drupal/Core/Field/FieldTypePluginManager.php).
Steps to reproduce
Update to Drupal 10.2.
Try to add a new field.
Proposed resolution
Add augmentor.field_type_categories.yml.
Augmentor:
label: 'Augmentor'
description: 'Augmentor field types.'
weight: -40
Remaining tasks
Provide a patch with a better description for the field category.
User interface changes
None
API changes
Data model changes
Issue fork augmentor-3420411
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
hmendes commentedComment #5
murrayw commentedComment #7
eleonelI just pushed an improvement in the field description, thanks for your contribution.
Comment #9
eleonel