You are here

service deprecation_test.service in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/deprecation_test/deprecation_test.services.yml \deprecation_test.service

Class

Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass
1 string reference to deprecation_test.service
ServiceDeprecationTest::testGetDeprecated in core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php
@covers ::get

File

core/modules/system/tests/modules/deprecation_test/deprecation_test.services.yml
core/modules/system/tests/modules/deprecation_test/deprecation_test.services.yml

View source
  1. class: Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass
  2. deprecated: 'The "%service_id%" service is deprecated in drupal:9.0.0 and is removed from drupal:20.0.0. This is a test.'