dbtng_example.repository

Same name in other branches
  1. 4.0.x modules/dbtng_example/dbtng_example.services.yml \dbtng_example.repository

Class

Drupal\dbtng_example\DbtngExampleRepository
4 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 this class.
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
  1. class: Drupal\dbtng_example\DbtngExampleRepository
  2. arguments:
  3. - '@database'
  4. - '@string_translation'
  5. - '@messenger'