Problem/Motivation

When trying to add any fields in D11 to any entity I get:
AssertionError: "Algemeen" must be defined in MODULE_NAME.field_type_categories.yml in assert() (regel 183 van /var/www/html/htdocs/core/lib/Drupal/Core/Field/FieldTypePluginManager.php).

Steps to reproduce

Have the latest version of the module installed and try to add a field to anything.

Proposed resolution

FieldType category needs to point to a machine name not a label

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 drupal11-field-type-category-key.patch459 byteslendude

Issue fork bsn_field-3619205

Command icon 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

lendude created an issue. See original summary.

lendude’s picture

Status: Active » Needs review
StatusFileSize
new459 bytes

Claude code created this patch, it solves the issue for me

joshahubbers made their first commit to this issue’s fork.

  • joshahubbers committed e44b5cbb on 2.0.x
    fix: #3619205 In D11 FieldType category needs to point to a machine name...
joshahubbers’s picture

Status: Needs review » Fixed

Merged.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.