Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
module.config.php
Go to the documentation of this file.
1 <?php
7 return [
8  'view_manager' => [
9  'display_not_found_reason' => false,
10  'display_exceptions' => false,
11  'doctype' => 'HTML5',
12  'not_found_template' => 'error/404',
13  'exception_template' => 'error/index',
14  'template_map' => [
15  'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
16  'error/404' => __DIR__ . '/../view/error/404.phtml',
17  'error/index' => __DIR__ . '/../view/error/index.phtml',
18  ],
19  'template_path_stack' => [
20  'setup' => __DIR__ . '/../view',
21  ],
22  'strategies' => ['ViewJsonStrategy'],
23  ],
24  'translator' => [
25  'translation_file_patterns' => [
26  [
27  'type' => 'gettext',
28  'base_dir' => __DIR__ . '/../lang',
29  'pattern' => '%s.mo',
30  ],
31  ],
32  ],
33  'service_manager' => [
34  'aliases' => [
35  'translator' => 'MvcTranslator'
36  ]
37  ],
38  'controllers' => [
39  'abstract_factories' => [
40  \Zend\Mvc\Controller\LazyControllerAbstractFactory::class,
41  ],
42  ],
43 ];
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60