Add an example module
This commit is contained in:
parent
9829b0d193
commit
4d9e569882
4 changed files with 51 additions and 0 deletions
7
web/modules/example/example.routing.yml
Normal file
7
web/modules/example/example.routing.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
example.page:
|
||||
path: /example
|
||||
defaults:
|
||||
_controller: Drupal\example\Controller\ExamplePageController
|
||||
methods: [GET]
|
||||
requirements:
|
||||
_permission: access content
|
Loading…
Add table
Add a link
Reference in a new issue