- Issue created by @kay_v
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Thanks, seems like we're missing something from the yml in that file then
- Assigned to Shaikh Sadab
- Issue was unassigned.
Drupal 11 appears to be incompatible with Entity Reference Hierarchy 3.x and 5.x. An attempt to add a field to a content type in each of these two versions throws the following error:
AssertionError: "Reference" must be defined in MODULE_NAME.field_type_categories.yml in assert() (line 183 of /var/www/html/web/core/lib/Drupal/Core/Field/FieldTypePluginManager.php).
The error does not occur with Drupal 10.3.
composer create-project drupal-composer/drupal-project:11.x-dev d11-erhierarchy --no-interaction
cd d11-erhierarchy
drush si
composer require 'drupal/entity_hierarchy:^3.3'
grep -ri previousnext/nested-set
drush si
drush en entity_hierarchy -y
drush cr
Active
3.0
Code (module)
Thanks, seems like we're missing something from the yml in that file then