Hi,
I have been trying to figure out how to implement comments on external_entities using annotations but after adding the comment field, the comment form is not showing up (just the comments).
Even having this working, how should I pre-create annotation entities for all the unknown external_entity instances?
A real example in the documentation would be of great help.

Thanks in advance and regards.
Julio

Comments

somms created an issue.

murz’s picture

Have the same issue when trying to attach Drupal Comments to the External Entity, so a working example will be very helpful.

The main issue for me is that the Comment entity can't find the right Entity Storage and the field name.

For example, if we have an External Entity my_ext_entity and a local annotation my_ext_entity_ann with a field field_my_comments, the Comments form tries to load the my_ext_entity.annotation_field_my_comments field instead of the right one my_ext_entity_ann.field_my_comments and fails rendering the form.

So, would be great to get a working example of the comments with external entities, could you share it?