wwaf-8.x-1.0-beta5/wwaf.routing.yml
wwaf.routing.yml
# @deprecated as it was exposed via block
wwaf.main:
path: '/wwaf'
defaults:
_controller: '\Drupal\wwaf\Controller\WWAFController::main'
_title: 'WWAF Stores'
requirements:
_access: 'TRUE'
wwaf.admin_wwaf:
path: '/admin/wwaf'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'WWAF'
requirements:
_permission: 'access wwaf administration pages'
wwaf.configuration:
path: '/admin/wwaf/configuration'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
link_id: 'wwaf.configuration'
_title: 'Configuration'
requirements:
_permission: 'access wwaf administration pages'
wwaf.configuration.global:
path: '/admin/wwaf/configuration/global'
defaults:
_form: '\Drupal\wwaf\Form\WWAFGlobalSettingsForm'
_title: 'WWAF Global settings'
requirements:
_permission: 'configure wwaf module'
wwaf.configuration.structure:
path: '/admin/wwaf/configuration/structure'
defaults:
_form: '\Drupal\wwaf\Form\WwafSettingsForm'
_title: 'WWAF Point Settings'
requirements:
_permission: 'administer wwaf entity'
entity.wwaf.collection:
path: '/admin/wwaf/list'
defaults:
_entity_list: 'wwaf'
_title: 'WWAF Points'
requirements:
_permission: 'view wwaf entity'
entity.wwaf.canonical:
path: '/wwaf/{wwaf}'
defaults:
_entity_view: 'wwaf'
_title: 'WWAF Store'
requirements:
_entity_access: 'wwaf.view'
entity.wwaf.add_form:
path: '/wwaf/add'
defaults:
_entity_form: wwaf.add
_title: 'Add WWAF Store'
requirements:
_entity_create_access: 'wwaf'
options:
_admin_route: TRUE
entity.wwaf.edit_form:
path: '/wwaf/{wwaf}/edit'
defaults:
_entity_form: wwaf.update
_title: 'Edit WWAF Store'
requirements:
_entity_access: 'wwaf.edit'
options:
_admin_route: TRUE
entity.wwaf.delete_form:
path: '/wwaf/{wwaf}/delete'
defaults:
_entity_form: wwaf.delete
_title: 'Delete WWAF Store'
requirements:
_entity_access: 'wwaf.delete'
options:
_admin_route: TRUE
wwaf.rest_wwaf_list:
path: '/rest/wwaf/list'
methods: [GET]
defaults:
_controller: '\Drupal\wwaf\Controller\WWAFController::rest_list'
_title: 'WWAF REST list'
requirements:
_access: 'TRUE'
