2

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.

Browse other questions tagged or ask your own question.