- Issue created by @milos.kroulik
When I tried to create a new field of type komponent on a Drupal 10.2 demo site, this error is displayed at /en/admin/structure/types/manage/page/add-field/node/field_myfield?destinations[0][route_name]=entity.node.field_ui_fields&destinations[0][route_parameters][entity_type]=node&destinations[0][route_parameters][field_name]=field_myfield&destinations[0][route_parameters][node_type]=page&destinations[1]=/en/admin/structure/types/manage/page/fields/add-field
:
The website encountered an unexpected error. Try again later.
InvalidArgumentException: Field field_myfield is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 616 of core/lib/Drupal/Core/Entity/ContentEntityBase.php).
Drupal\Core\Entity\ContentEntityBase->get('field_myfield') (Line: 657)
Drupal\Core\Entity\ContentEntityBase->set('field_myfield', Array) (Line: 65)
Drupal\layout_builder\Field\LayoutSectionItemList->getEntity() (Line: 35)
Drupal\komponent\Plugin\Field\FieldType\LayoutSectionItemList->getSectionStorage() (Line: 52)
Drupal\komponent\Plugin\Field\FieldType\LayoutSectionItemList->defaultValuesForm(Array, Object) (Line: 230)
Drupal\field_ui\Form\FieldConfigEditForm->form(Array, Object) (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
...
Active
1.0
Code