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

Created on 8 April 2025, about 1 month ago

Problem/Motivation

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

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

Proposed resolution

Use the machine name for the category instead of the label.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jonnyhocks

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