I have a custom Entity called custom_entity, along with a custom module which provides twig templates for my bundles and their fields.
How can I define a generic/base field template for all fields created under custom_entity?
For a specific field I could create the template:
field--custom-entity--field-my-field.html.twig
But I'm looking to do something more general, like:
field--custom-entity.twig
Where all my fields created on a custom_entity use this base template.
I don't want to modify field.html.twig in the theme. I want this template to only apply to my entity and its bundles.