Skip to content
Snippets Groups Projects
services.yml.twig 1015 B
parameters:
  session.storage.options:
    gc_probability: 1
    gc_divisor: 100
    gc_maxlifetime: 200000
    cookie_lifetime: 2000000
  twig.config:
    debug: {{ live ? 'false' : 'true' }}
    auto_reload: {{ live ? 'false' : 'true' }}
    cache: {{ live ? 'true' : 'false' }}
  renderer.config:
    required_cache_contexts: ['languages:language_interface', 'theme', 'user.permissions']
    auto_placeholder_conditions:
      max-age: 0
      contexts: ['session', 'user']
      tags: []
    debug: {{ renderer_config.debug ? 'true' : 'false' }}
  http.response.debug_cacheability_headers: false
  factory.keyvalue:
    {}
  factory.keyvalue.expirable:
    {}
  filter_protocols:
{% for filter_protocol in filter_protocols %}
    - {{ filter_protocol }}
{% endfor %}
  cors.config:
    enabled: {{ cors_config.enabled }}
    allowedHeaders: []
    allowedMethods: []
    allowedOrigins: ['{{ cors_config.allowedOrigins|join("','") }}']
    exposedHeaders: false
    maxAge: false
    supportsCredentials: false