[error] "External reference" must be defined in MODULE_NAME.field_type_categories.yml

Created on 26 June 2025, 18 days ago

Problem/Motivation

When using this module with Drupal 11, I encountered a fatal error when attempting to add a new field to a content type:
"External reference" must be defined in MODULE_NAME.field_type_categories.yml

Proposed resolution

This seems to be a result of using the label for the category instead of the machine name, in the field's metadata.

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine myha

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

Comments & Activities

Production build 0.71.5 2024