Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
module.config.php File Reference

Go to the source code of this file.

Variables

 return ['view_manager'=> ['display_not_found_reason'=> false, 'display_exceptions'=> false, 'doctype'=> 'HTML5', 'not_found_template'=> 'error/404', 'exception_template'=> 'error/index', 'template_map'=> ['layout/layout'=> __DIR__ . '/../view/layout/layout.phtml', 'error/404'=> __DIR__ . '/../view/error/404.phtml', 'error/index'=> __DIR__ . '/../view/error/index.phtml',], 'template_path_stack'=> ['setup'=> __DIR__ . '/../view',], 'strategies'=> ['ViewJsonStrategy'],], 'translator'=> ['translation_file_patterns'=> [['type'=> 'gettext', 'base_dir'=> __DIR__ . '/../lang', 'pattern'=> '%s.mo',],],], 'service_manager'=> ['aliases'=> ['translator'=> 'MvcTranslator']], 'controllers'=> ['abstract_factories'=> [\Zend\Mvc\Controller\LazyControllerAbstractFactory::class,],],]
 

Variable Documentation

◆ return

return[ 'view_manager'=> [ 'display_not_found_reason'=> false, 'display_exceptions'=> false, 'doctype'=> 'HTML5', 'not_found_template'=> 'error/404', 'exception_template'=> 'error/index', 'template_map'=> [ 'layout/layout'=> __DIR__ . '/../view/layout/layout.phtml', 'error/404'=> __DIR__ . '/../view/error/404.phtml', 'error/index'=> __DIR__ . '/../view/error/index.phtml',], 'template_path_stack'=> [ 'setup'=> __DIR__ . '/../view',], 'strategies'=> [ 'ViewJsonStrategy'],], 'translator'=> [ 'translation_file_patterns'=> [ [ 'type'=> 'gettext', 'base_dir'=> __DIR__ . '/../lang', 'pattern'=> '%s.mo',],],], 'service_manager'=> [ 'aliases'=> [ 'translator'=> 'MvcTranslator']], 'controllers'=> [ 'abstract_factories'=> [ \Zend\Mvc\Controller\LazyControllerAbstractFactory::class,],],]

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 43 of file module.config.php.