Drupal 11 field type category error

Created on 20 March 2025, 20 days ago

Problem/Motivation

When trying to add a field to an entity with this module installed, an error occurs:
AssertionError: "Text" must be defined in MODULE_NAME.field_type_categories.yml in assert() (line 183 of core/lib/Drupal/Core/Field/FieldTypePluginManager.php).

Steps to reproduce

Install module in D11 and try to add any field.

Proposed resolution

Fix annotation.

Remaining tasks

Review code.

API changes

https://www.drupal.org/node/3375748

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom dahousecat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024