public function TestService::getTestInjection2 in Drupal 10
Same name in this branch
- 10 core/modules/system/tests/modules/services_defaults_test/src/TestService.php \Drupal\services_defaults_test\TestService::getTestInjection2()
- 10 core/modules/system/tests/modules/autowire_test/src/TestService.php \Drupal\autowire_test\TestService::getTestInjection2()
File
- core/
modules/ system/ tests/ modules/ services_defaults_test/ src/ TestService.php, line 29
Class
- TestService
- An autowired service to test _defaults.
Namespace
Drupal\services_defaults_testCode
public function getTestInjection2() {
return $this->testInjection2;
}