Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
ServiceProviderWebTest::testServiceProviderRegistrationIntegration function core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php Tests that module service providers get registered to the DIC.
Services and Dependency Injection Container group core/core.api.php Overview of the Dependency Injection Container and Services.
ServicesDefaultsTest class core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Tests services _defaults definition.
ServicesDefaultsTest.php file core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php
ServicesDefaultsTest::$modules property core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Modules to enable.
ServicesDefaultsTest::testAutowiring function core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Tests that 'services_defaults_test.service' has its dependencies injected.
ServicesDefaultsTest::testDefaultTags function core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Tests that default tags for 'services_defaults_test.service' are applied.
ServicesDefaultsTest::testPrivateServices function core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php Tests that service from 'services_defaults_test.service' is private.
services_defaults_test.info.yml file core/modules/system/tests/modules/services_defaults_test/services_defaults_test.info.yml core/modules/system/tests/modules/services_defaults_test/services_defaults_test.info.yml
services_defaults_test.services.yml file core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml
services_default_test.no_autowire service core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml Drupal\services_defaults_test\TestService
services_default_test.no_autowire.arg service core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml Drupal\services_defaults_test\TestInjection
ServiceWithDependency class core/modules/system/tests/modules/new_dependency_test/src/ServiceWithDependency.php Service that gets the other service of the same module injected.
ServiceWithDependency.php file core/modules/system/tests/modules/new_dependency_test/src/ServiceWithDependency.php
ServiceWithDependency::$service property core/modules/system/tests/modules/new_dependency_test/src/ServiceWithDependency.php The injected service.
ServiceWithDependency::greet function core/modules/system/tests/modules/new_dependency_test/src/ServiceWithDependency.php Gets a greeting from the injected service and adds to it.
ServiceWithDependency::__construct function core/modules/system/tests/modules/new_dependency_test/src/ServiceWithDependency.php ServiceWithDependency constructor.
service_provider_test.info.yml file core/modules/system/tests/modules/service_provider_test/service_provider_test.info.yml core/modules/system/tests/modules/service_provider_test/service_provider_test.info.yml
service_provider_test.services.yml file core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml
service_provider_test_class service core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml Drupal\service_provider_test\TestClass
Session class core/lib/Drupal/Core/StackMiddleware/Session.php Wrap session logic around a HTTP request.
session service core/core.services.yml Symfony\Component\HttpFoundation\Session\Session
session.attribute_bag service core/core.services.yml Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag
session.flash_bag service core/core.services.yml Symfony\Component\HttpFoundation\Session\Flash\FlashBag
Session.php file core/lib/Drupal/Core/StackMiddleware/Session.php
Session::$httpKernel property core/lib/Drupal/Core/StackMiddleware/Session.php The wrapped HTTP kernel.
Session::$sessionServiceName property core/lib/Drupal/Core/StackMiddleware/Session.php The session service name.
Session::handle function core/lib/Drupal/Core/StackMiddleware/Session.php
Session::__construct function core/lib/Drupal/Core/StackMiddleware/Session.php Constructs a Session stack middleware object.
SessionAuthenticationTest class core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Tests if sessions are correctly handled when a user authenticates.
SessionAuthenticationTest.php file core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
SessionAuthenticationTest::$defaultTheme property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php The theme to install as the default for testing.
SessionAuthenticationTest::$modules property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Modules to enable.
SessionAuthenticationTest::$user property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php A test user.
SessionAuthenticationTest::assertSessionData function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Checks the session data returned by the session test routes.
SessionAuthenticationTest::setUp function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
SessionAuthenticationTest::testBasicAuthNoSession function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Tests that a session is not started automatically by basic authentication.
SessionAuthenticationTest::testBasicAuthSession function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Tests if a session can be initiated through basic authentication.
SessionAuthenticationTest::testSessionFromBasicAuthenticationDoesNotLeak function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Check that a basic authentication session does not leak.
SessionCacheContext class core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php Defines the SessionCacheContext service, for "per session" caching.
SessionCacheContext.php file core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php
SessionCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php
SessionCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php
SessionCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\SessionCacheContext[[api-linebreak]]
@group Cache
SessionCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php
SessionCacheContextTest::$request property core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php The request.
SessionCacheContextTest::$requestStack property core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php The request stack.
SessionCacheContextTest::$session property core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php The session object.
SessionCacheContextTest::setUp function core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php
SessionCacheContextTest::testContextWithoutSessionInRequest function core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @covers ::getContext[[api-linebreak]]

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.