Skip to content

Commit

Permalink
Adding routes and menu links.
Browse files Browse the repository at this point in the history
  • Loading branch information
bibliophileaxe committed Jun 3, 2020
1 parent e33d47e commit be69fa1
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions jwt_firebase_auth_consumer.info.yml
Expand Up @@ -3,5 +3,6 @@ type: module
description: Authenticates JWTs generated by Firebase auth.
core_version_requirement: ^8.7.12 || ^9.0
package: Web services
configure: jwt_firebase_auth_consumer.config_form
dependencies:
- drupal:jwt
4 changes: 4 additions & 0 deletions jwt_firebase_auth_consumer.permissions.yml
@@ -0,0 +1,4 @@
administer jwt firebase auth:
title: 'Administer JWT Firebase auth settings'
description: 'Provides access to the JWT Firebase auth administration pages.'
restrict access: TRUE
9 changes: 9 additions & 0 deletions jwt_firebase_auth_consumer.routing.yml
@@ -0,0 +1,9 @@
jwt_firebase_auth_consumer.config_form:
path: '/admin/config/system/jwt-firebase-auth'
defaults:
_form: '\Drupal\jwt_firebase_auth_consumer\Form\FirebaseAuthSettingsForm'
_title: 'JWT Firebase auth configuration'
requirements:
_permission: 'administer jwt firebase auth'
options:
_admin_route: TRUE
6 changes: 6 additions & 0 deletions jwt_firebase_auth_cosumer.links.menu.yml
@@ -0,0 +1,6 @@
jwt_firebase_auth_consumer.config_form:
title: 'JWT Firebase auth settings'
description: 'Configures the JWT Firebase Auth consumer module'
route_name: jwt_firebase_auth_consumer.config_form
parent: system.admin_config_system
weight: 99
5 changes: 5 additions & 0 deletions jwt_firebase_auth_cosumer.task.yml
@@ -0,0 +1,5 @@
jwt_firebase_auth_consumer.config_form:
title: 'JWT Firebase Auth settings'
route_name: jwt_firebase_auth_consumer.config_form
base_route: jwt_firebase_auth_consumer.config_form
weight: 0

0 comments on commit be69fa1

Please sign in to comment.