• Open the module.config.php of the module and its path is module\{module}\config\module.config.php
  • Add/Update given code in the view_manager array
  • 'template_map' => array(
        'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', //Setup the layout file here
        'error/404' => __DIR__ . '/../view/error/404.phtml', //Setup the error from here
    ),
BY Best Interview Question ON 22 Feb 2019