Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
ServiceProviderBase::alter function core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php Modifies existing service definitions.
ServiceProviderBase::register function core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php Registers services to the container.
ServiceProviderInterface interface core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php Interface that all service providers must implement.
ServiceProviderInterface.php file core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php
ServiceProviderInterface::register function core/lib/Drupal/Core/DependencyInjection/ServiceProviderInterface.php Registers services to the container.
ServiceProviderTest class core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Tests service provider registration to the DIC.
ServiceProviderTest.php file core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php
ServiceProviderTest::$modules property core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Modules to install.
ServiceProviderTest::register function core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Registers test-specific services.
ServiceProviderTest::testServiceProviderRegistration function core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Tests that services provided by module service providers get registered to the DIC.
ServiceProviderTest::testServiceProviderRegistrationDynamic function core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php Tests that the DIC keeps up with module enable/disable in the same request.
ServiceProviderTestServiceProvider class core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php Service provider for service provider testing module.
ServiceProviderTestServiceProvider.php file core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php
ServiceProviderTestServiceProvider::alter function core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php Modifies existing service definitions.
ServiceProviderWebTest class core/modules/system/tests/src/Kernel/ServiceProvider/ServiceProviderWebTest.php Tests service provider registration to the DIC.
ServiceProviderWebTest class core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php Tests service provider registration to the DIC.
ServiceProviderWebTest.php file core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php
ServiceProviderWebTest.php file core/modules/system/tests/src/Kernel/ServiceProvider/ServiceProviderWebTest.php
ServiceProviderWebTest::$defaultTheme property core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php The theme to install as the default for testing.
ServiceProviderWebTest::$modules property core/modules/system/tests/src/Functional/ServiceProvider/ServiceProviderWebTest.php Modules to install.
ServiceProviderWebTest::$modules property core/modules/system/tests/src/Kernel/ServiceProvider/ServiceProviderWebTest.php Modules to install.
ServiceProviderWebTest::testServiceProviderRegistrationIntegration function core/modules/system/tests/src/Kernel/ServiceProvider/ServiceProviderWebTest.php Tests that module service providers get registered to the DIC.
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.
services.yml file core/modules/package_manager/tests/fixtures/fake_site/sites/example.com/services.yml core/modules/package_manager/tests/fixtures/fake_site/sites/example.com/services.yml
services.yml file core/modules/package_manager/tests/fixtures/fake_site/sites/default/services.yml core/modules/package_manager/tests/fixtures/fake_site/sites/default/services.yml
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 install.
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.
ServicesTest class core/modules/package_manager/tests/src/Kernel/ServicesTest.php Tests that Package Manager services are wired correctly.
ServicesTest.php file core/modules/package_manager/tests/src/Kernel/ServicesTest.php
ServicesTest::$modules property core/modules/package_manager/tests/src/Kernel/ServicesTest.php Modules to install.
ServicesTest::testPackageManagerServices function core/modules/package_manager/tests/src/Kernel/ServicesTest.php Tests that Package Manager's public services can be instantiated.
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
service_provider_test_class_1 service core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml
service_provider_test_class_2 service core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml

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