You are here

service new_dependency_test.setter_injection in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml \new_dependency_test.setter_injection
  2. 9 core/modules/system/tests/modules/new_dependency_test/new_dependency_test.services.yml \new_dependency_test.setter_injection

Class

Drupal\new_dependency_test\SetterInjection
2 string references to new_dependency_test.setter_injection
new_dependency_test_update_8001 in core/modules/system/tests/modules/new_dependency_test/new_dependency_test.install
Enable the new_dependency_test_with_service module.
UpdatePathNewDependencyTest::testUpdateNewDependency in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
Tests that a module can add services that depend on new modules.

File

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

View source
  1. class: Drupal\new_dependency_test\SetterInjection
  2. calls:
  3. - [setter, ['@new_dependency_test_with_service.service']]