You are here

public function TestService::getTestInjection in Drupal 10

Same name in this branch
  1. 10 core/modules/system/tests/modules/services_defaults_test/src/TestService.php \Drupal\services_defaults_test\TestService::getTestInjection()
  2. 10 core/modules/system/tests/modules/autowire_test/src/TestService.php \Drupal\autowire_test\TestService::getTestInjection()
Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/autowire_test/src/TestService.php \Drupal\autowire_test\TestService::getTestInjection()

File

core/modules/system/tests/modules/autowire_test/src/TestService.php, line 22

Class

TestService

Namespace

Drupal\autowire_test

Code

public function getTestInjection() : TestInjectionInterface {
  return $this->testInjection;
}