feat: add an example module with custom tests
Add a custom module based on my Drupal module template: https://github.com/opdavies/drupal-module-template
This commit is contained in:
parent
ea60b27438
commit
67a9f556c4
10 changed files with 117 additions and 0 deletions
web/modules/custom/example
7
web/modules/custom/example/example.routing.yml
Normal file
7
web/modules/custom/example/example.routing.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
drupal-module-template.example:
|
||||
path: /@opdavies/drupal-module-template
|
||||
defaults:
|
||||
_controller: Drupal\example\Controller\ExamplePageController
|
||||
_title: Example page
|
||||
requirements:
|
||||
_permission: access content
|
Loading…
Add table
Add a link
Reference in a new issue