You are here

default.services.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 sites/default/default.services.yml
sites/default/default.services.yml

File

sites/default/default.services.yml
View source
  1. parameters:
  2. session.storage.options:
  3. # Default ini options for sessions.
  4. #
  5. # Some distributions of Linux (most notably Debian) ship their PHP
  6. # installations with garbage collection (gc) disabled. Since Drupal depends
  7. # on PHP's garbage collection for clearing sessions, ensure that garbage
  8. # collection occurs by using the most common settings.
  9. # @default 1
  10. gc_probability: 1
  11. # @default 100
  12. gc_divisor: 100
  13. #
  14. # Set session lifetime (in seconds), i.e. the time from the user's last
  15. # visit to the active session may be deleted by the session garbage
  16. # collector. When a session is deleted, authenticated users are logged out,
  17. # and the contents of the user's $_SESSION variable is discarded.
  18. # @default 200000
  19. gc_maxlifetime: 200000
  20. #
  21. # Set session cookie lifetime (in seconds), i.e. the time from the session
  22. # is created to the cookie expires, i.e. when the browser is expected to
  23. # discard the cookie. The value 0 means "until the browser is closed".
  24. # @default 2000000
  25. cookie_lifetime: 2000000
  26. #
  27. # Drupal automatically generates a unique session cookie name based on the
  28. # full domain name used to access the site. This mechanism is sufficient
  29. # for most use-cases, including multi-site deployments. However, if it is
  30. # desired that a session can be reused across different subdomains, the
  31. # cookie domain needs to be set to the shared base domain. Doing so assures
  32. # that users remain logged in as they cross between various subdomains.
  33. # To maximize compatibility and normalize the behavior across user agents,
  34. # the cookie domain should start with a dot.
  35. #
  36. # @default none
  37. # cookie_domain: '.example.com'
  38. #
  39. twig.config:
  40. # Twig debugging:
  41. #
  42. # When debugging is enabled:
  43. # - The markup of each Twig template is surrounded by HTML comments that
  44. # contain theming information, such as template file name suggestions.
  45. # - Note that this debugging markup will cause automated tests that directly
  46. # check rendered HTML to fail. When running automated tests, 'debug'
  47. # should be set to FALSE.
  48. # - The dump() function can be used in Twig templates to output information
  49. # about template variables.
  50. # - Twig templates are automatically recompiled whenever the source code
  51. # changes (see auto_reload below).
  52. #
  53. # For more information about debugging Twig templates, see
  54. # https://www.drupal.org/node/1906392.
  55. #
  56. # Not recommended in production environments
  57. # @default false
  58. debug: false
  59. # Twig auto-reload:
  60. #
  61. # Automatically recompile Twig templates whenever the source code changes.
  62. # If you don't provide a value for auto_reload, it will be determined
  63. # based on the value of debug.
  64. #
  65. # Not recommended in production environments
  66. # @default null
  67. auto_reload: null
  68. # Twig cache:
  69. #
  70. # By default, Twig templates will be compiled and stored in the filesystem
  71. # to increase performance. Disabling the Twig cache will recompile the
  72. # templates from source each time they are used. In most cases the
  73. # auto_reload setting above should be enabled rather than disabling the
  74. # Twig cache.
  75. #
  76. # Not recommended in production environments
  77. # @default true
  78. cache: true
  79. renderer.config:
  80. # Renderer required cache contexts:
  81. #
  82. # The Renderer will automatically associate these cache contexts with every
  83. # render array, hence varying every render array by these cache contexts.
  84. #
  85. # @default ['languages:language_interface', 'theme', 'user.permissions']
  86. required_cache_contexts: ['languages:language_interface', 'theme', 'user.permissions']
  87. # Renderer automatic placeholdering conditions:
  88. #
  89. # Drupal allows portions of the page to be automatically deferred when
  90. # rendering to improve cache performance. That is especially helpful for
  91. # cache contexts that vary widely, such as the active user. On some sites
  92. # those may be different, however, such as sites with only a handful of
  93. # users. If you know what the high-cardinality cache contexts are for your
  94. # site, specify those here. If you're not sure, the defaults are fairly safe
  95. # in general.
  96. #
  97. # For more information about rendering optimizations see
  98. # https://www.drupal.org/developing/api/8/render/arrays/cacheability#optimizing
  99. auto_placeholder_conditions:
  100. # Max-age at or below which caching is not considered worthwhile.
  101. #
  102. # Disable by setting to -1.
  103. #
  104. # @default 0
  105. max-age: 0
  106. # Cache contexts with a high cardinality.
  107. #
  108. # Disable by setting to [].
  109. #
  110. # @default ['session', 'user']
  111. contexts: ['session', 'user']
  112. # Tags with a high invalidation frequency.
  113. #
  114. # Disable by setting to [].
  115. #
  116. # @default []
  117. tags: []
  118. # Cacheability debugging:
  119. #
  120. # Responses with cacheability metadata (CacheableResponseInterface instances)
  121. # get X-Drupal-Cache-Tags and X-Drupal-Cache-Contexts headers.
  122. #
  123. # For more information about debugging cacheable responses, see
  124. # https://www.drupal.org/developing/api/8/response/cacheable-response-interface
  125. #
  126. # Not recommended in production environments
  127. # @default false
  128. http.response.debug_cacheability_headers: false
  129. factory.keyvalue:
  130. {}
  131. # Default key/value storage service to use.
  132. # @default keyvalue.database
  133. # default: keyvalue.database
  134. # Collection-specific overrides.
  135. # state: keyvalue.database
  136. factory.keyvalue.expirable:
  137. {}
  138. # Default key/value expirable storage service to use.
  139. # @default keyvalue.database.expirable
  140. # default: keyvalue.database.expirable
  141. # Allowed protocols for URL generation.
  142. filter_protocols:
  143. - http
  144. - https
  145. - ftp
  146. - news
  147. - nntp
  148. - tel
  149. - telnet
  150. - mailto
  151. - irc
  152. - ssh
  153. - sftp
  154. - webcal
  155. - rtsp