gauth.routing.yml in Google Auth 8
File
gauth.routing.yml
View source
- entity.gauth.canonical:
- path: '/gauth/{gauth}'
- defaults:
- # Calls the view controller, defined in the annotation of the gauth entity
- _entity_view: 'gauth'
- _title: 'Gauth Accounts'
- requirements:
- _permission: 'administer site configuration'
-
- entity.gauth.collection:
- path: '/admin/config/services/gauth'
- defaults:
- _title: 'Google Accounts'
- _entity_list: 'gauth'
- requirements:
- _permission: 'administer site configuration'
-
- gauth.gauth_add:
- path: '/admin/config/services/gauth/add'
- defaults:
- _entity_form: gauth.edit
- _title: 'Add Gauth account'
- requirements:
- _permission: 'administer site configuration'
-
- entity.gauth.edit_form:
- path: '/admin/config/services/gauth/{gauth}/edit'
- defaults:
- # Calls the form.edit controller, defined in the gauth entity.
- _entity_form: gauth.edit
- _title: 'Edit Gauth Account'
- requirements:
- _permission: 'administer site configuration'
-
- entity.gauth.delete_form:
- path: '/admin/config/services/gauth/{gauth}/delete'
- defaults:
- # Calls the form.delete controller, defined in the gauth entity.
- _entity_form: gauth.delete
- _title: 'Delete Gauth Account'
- requirements:
- _permission: 'administer site configuration'
-
- gauth.response_handler:
- path: '/gauth/response_handler'
- defaults:
- _controller: '\Drupal\gauth\Entity\Controller\GauthResponseHandler::responseHandler'
- methods: [GET]
- requirements:
- _access: 'TRUE'
-
- entity.gauth.revoke_form:
- path: '/admin/config/services/gauth/{gauth}/revoke'
- defaults:
- _title: 'Google Account Token Revoke'
- _entity_form: 'gauth.revoke'
- requirements:
- _permission: 'administer site configuration'
-
- gauth.gauth_settings:
- path: 'admin/structure/gauth_settings'
- defaults:
- _form: '\Drupal\gauth\Form\GauthSettingsForm'
- _title: 'Gauth Settings'
- requirements:
- _permission: 'administer site configuration'