development.services.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Local development services.
  2. #
  3. # To activate this feature, follow the instructions at the top of the
  4. # 'example.settings.local.php' file, which sits next to this file.
  5. parameters:
  6. http.response.debug_cacheability_headers: true
  7. twig.config:
  8. # Twig debugging:
  9. #
  10. # When debugging is enabled:
  11. # - The markup of each Twig template is surrounded by HTML comments that
  12. # contain theming information, such as template file name suggestions.
  13. # - Note that this debugging markup will cause automated tests that directly
  14. # check rendered HTML to fail. When running automated tests, 'debug'
  15. # should be set to FALSE.
  16. # - The dump() function can be used in Twig templates to output information
  17. # about template variables.
  18. # - Twig templates are automatically recompiled whenever the source code
  19. # changes (see auto_reload below).
  20. #
  21. # For more information about debugging Twig templates, see
  22. # https://www.drupal.org/node/1906392.
  23. #
  24. # Not recommended in production environments
  25. # @default false
  26. debug: true
  27. # Twig auto-reload:
  28. #
  29. # Automatically recompile Twig templates whenever the source code changes.
  30. # If you don't provide a value for auto_reload, it will be determined
  31. # based on the value of debug.
  32. #
  33. # Not recommended in production environments
  34. # @default null
  35. auto_reload: true
  36. # Twig cache:
  37. #
  38. # By default, Twig templates will be compiled and stored in the filesystem
  39. # to increase performance. Disabling the Twig cache will recompile the
  40. # templates from source each time they are used. In most cases the
  41. # auto_reload setting above should be enabled rather than disabling the
  42. # Twig cache.
  43. #
  44. # Not recommended in production environments
  45. # @default true
  46. cache: false
  47. services:
  48. cache.backend.null:
  49. class: Drupal\Core\Cache\NullBackendFactory