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.

User interface changes

API changes

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

Issue fork ssch-3477627

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

johankleene created an issue. See original summary.

johankleene’s picture

Status: Active » Needs review

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

watergate’s picture

Priority: Normal » Critical
Status: Needs review » Fixed

Thanks Johan!

  • watergate committed b98ef735 on 2.x
    Issue #3477627 by johankleene, watergate: Drupal 11 field type category...
watergate’s picture

Status: Fixed » Closed (fixed)

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