You are here

service http_middleware.session in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \http_middleware.session
  2. 9 core/core.services.yml \http_middleware.session

Class

Drupal\Core\StackMiddleware\Session

Tags

  • http_middleware
1 string reference to http_middleware.session
StackKernelIntegrationTest::testLazyLateMiddlewares in core/tests/Drupal/KernelTests/Core/HttpKernel/StackKernelIntegrationTest.php
Tests that late middlewares are automatically flagged lazy.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\StackMiddleware\Session
  2. tags:
  3. - { name: http_middleware, priority: 50 }
  4. calls:
  5. - [setContainer, ['@service_container']]