两个位置需要修改:
1、site/default/settings.local.php
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml';
2、/sites/development.services.yml
twig.config: debug : true auto_reload: true cache: false
清空缓存,就可以看见效果了
两个位置需要修改:
1、site/default/settings.local.php
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml';
2、/sites/development.services.yml
twig.config: debug : true auto_reload: true cache: false
清空缓存,就可以看见效果了
版权属于:文心博客 本文作者:star0312
原文地址: http://www.stararly.com/BeginningDrupal8/3406.html
版权声明:转载时必须以链接形式注明原始出处及本声明。
关闭
没有评论,留下你的印记,证明你来过。
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。