1

I have created a custom entity via drupal console, and it created template item_entity.html.twig in template folder, but the entity is being rendered in some other way because any changes in template not work. How to make it rendered through the CREATED custom template?

Edit: After editing hook_theme as here suggested the problem was solved.

closed as unclear what you're asking by Kevin, Pierre.Vriens, leymannx, 4k4, mradcliffe Jan 15 at 14:12

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.