We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5377bb2 commit 363c5e1Copy full SHA for 363c5e1
README.md
@@ -32,3 +32,10 @@ See [OS2Web code review policy](https://github.com/OS2Web/docs#code-review)
32
33
### Git name convention
34
See [OS2Web git name convention](https://github.com/OS2Web/docs#git-guideline)
35
+
36
+### Using services in other modules
37
38
+```
39
+\Drupal::service('plugin.manager.os2web_datalookup')->createInstance('serviceplatformen_cvr')->getLegalUnit('[CVR number]')
40
+\Drupal::service('plugin.manager.os2web_datalookup')->createInstance('serviceplatformen_cpr')->cprBasicInformation('[CPR number]'))
41
0 commit comments