@@ -11,10 +11,11 @@ parameters:
1111 # @default 100
1212 gc_divisor : 100
1313 #
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.
14+ # Set session lifetime (in seconds), i.e. the grace period for session
15+ # data. Sessions are deleted by the session garbage collector after one
16+ # session lifetime has elapsed since the user's last visit. When a session
17+ # is deleted, authenticated users are logged out, and the contents of the
18+ # user's session is discarded.
1819 # @default 200000
1920 gc_maxlifetime : 200000
2021 #
@@ -69,7 +70,7 @@ parameters:
6970 # For more information about debugging Twig templates, see
7071 # https://www.drupal.org/node/1906392.
7172 #
72- # Not recommended in production environments
73+ # Enabling Twig debugging is not recommended in production environments.
7374 # @default false
7475 debug : false
7576 # Twig auto-reload:
@@ -78,7 +79,7 @@ parameters:
7879 # If you don't provide a value for auto_reload, it will be determined
7980 # based on the value of debug.
8081 #
81- # Not recommended in production environments
82+ # Enabling auto-reload is not recommended in production environments.
8283 # @default null
8384 auto_reload : null
8485 # Twig cache:
@@ -89,9 +90,24 @@ parameters:
8990 # auto_reload setting above should be enabled rather than disabling the
9091 # Twig cache.
9192 #
92- # Not recommended in production environments
93+ # Disabling the Twig cache is not recommended in production environments.
9394 # @default true
9495 cache : true
96+ # File extensions:
97+ #
98+ # List of file extensions the Twig system is allowed to load via the
99+ # twig.loader.filesystem service. Files with other extensions will not be
100+ # loaded unless they are added here. For example, to allow a file named
101+ # 'example.partial' to be loaded, add 'partial' to this list. To load files
102+ # with no extension, add an empty string '' to the list.
103+ #
104+ # @default ['css', 'html', 'js', 'svg', 'twig']
105+ allowed_file_extensions :
106+ - css
107+ - html
108+ - js
109+ - svg
110+ - twig
95111 renderer.config :
96112 # Renderer required cache contexts:
97113 #
@@ -131,6 +147,14 @@ parameters:
131147 #
132148 # @default []
133149 tags : []
150+ # Renderer cache debug:
151+ #
152+ # Allows cache debugging output for each rendered element.
153+ #
154+ # Enabling render cache debugging is not recommended in production
155+ # environments.
156+ # @default false
157+ debug : false
134158 # Cacheability debugging:
135159 #
136160 # Responses with cacheability metadata (CacheableResponseInterface instances)
@@ -140,19 +164,20 @@ parameters:
140164 # For more information about debugging cacheable responses, see
141165 # https://www.drupal.org/developing/api/8/response/cacheable-response-interface
142166 #
143- # Not recommended in production environments
167+ # Enabling cacheability debugging is not recommended in production
168+ # environments.
144169 # @default false
145170 http.response.debug_cacheability_headers : false
146171 factory.keyvalue : {}
147- # Default key/value storage service to use.
148- # @default keyvalue.database
149- # default: keyvalue.database
150- # Collection-specific overrides.
151- # state: keyvalue.database
172+ # Default key/value storage service to use.
173+ # @default keyvalue.database
174+ # default: keyvalue.database
175+ # Collection-specific overrides.
176+ # state: keyvalue.database
152177 factory.keyvalue.expirable : {}
153- # Default key/value expirable storage service to use.
154- # @default keyvalue.database.expirable
155- # default: keyvalue.database.expirable
178+ # Default key/value expirable storage service to use.
179+ # @default keyvalue.database.expirable
180+ # default: keyvalue.database.expirable
156181 # Allowed protocols for URL generation.
157182 filter_protocols :
158183 - http
@@ -179,7 +204,8 @@ parameters:
179204 allowedHeaders : []
180205 # Specify allowed request methods, specify ['*'] to allow all possible ones.
181206 allowedMethods : []
182- # Configure requests allowed from specific origins.
207+ # Configure requests allowed from specific origins. Do not include trailing
208+ # slashes with URLs.
183209 allowedOrigins : ['*']
184210 # Sets the Access-Control-Expose-Headers header.
185211 exposedHeaders : false
0 commit comments