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.
MODULE_theme()
I guess its by design. You should add/update your theme function to pick up your template. Look in this issue for more details github.com/hechoendrupal/drupal-console/issues/…