dbtng_example.repository
Same name in other branches
- 3.x modules/dbtng_example/dbtng_example.services.yml \dbtng_example.repository
Class
Drupal\dbtng_example\DbtngExampleRepository4 string references to dbtng_example.repository
- DbtngExampleAddForm::create in modules/
dbtng_example/ src/ Form/ DbtngExampleAddForm.php - We'll use the ContainerInjectionInterface pattern here to inject the current user and also get the string_translation service.
- DbtngExampleController::create in modules/
dbtng_example/ src/ Controller/ DbtngExampleController.php - Instantiates a new instance of the implementing class using autowiring.
- DbtngExampleRepositoryTest::testDbtngExampleStorage in modules/
dbtng_example/ tests/ src/ Kernel/ DbtngExampleRepositoryTest.php - Tests several combinations, adding entries, updating and deleting.
- DbtngExampleUpdateForm::create in modules/
dbtng_example/ src/ Form/ DbtngExampleUpdateForm.php - Instantiates a new instance of this class.
File
-
modules/
dbtng_example/ dbtng_example.services.yml
View source
- class: Drupal\dbtng_example\DbtngExampleRepository
- arguments:
- - '@database'
- - '@string_translation'
- - '@messenger'