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:
"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.
Also, I think it makes sense to follow the lead of the core image field and set the category for the base SVG field as file_upload, since that's how it works.
Proposed resolution
Update the field metadata.
Issue fork svg_image_field-3448486
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
Comment #4
mandclu commented