Last active
May 10, 2019 14:47
-
-
Save nathandentzau/02300ebcca43f70f0b4bcc51de5e4108 to your computer and use it in GitHub Desktop.
Local development settings for Drupal 8 in my Lando setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Local development services. | |
# | |
# To activate this feature, follow the instructions at the top of the | |
# 'example.settings.local.php' file, which sits next to this file. | |
parameters: | |
http.response.debug_cacheability_headers: true | |
twig.config: | |
debug: true | |
services: | |
cache.backend.null: | |
class: Drupal\Core\Cache\NullBackendFactory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/lando.services.yml'; | |
$settings['extension_discovery_scan_tests'] = FALSE; | |
$cache_bins = [ | |
'bootstrap', | |
'config', | |
'data', | |
'default', | |
'discovery', | |
'dynamic_page_cache', | |
'entity', | |
'menu', | |
'migrate', | |
'render', | |
'rest', | |
'static', | |
'toolbar', | |
]; | |
foreach ($cache_bins as $bin) { | |
$settings['cache']['bins'][$bin] = 'cache.backend.null'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment