materio-d9/web/modules/custom/materio_flag/materio_flag.routing.yml

24 lines
923 B
YAML
Raw Normal View History

materio_flag.user_flagging_collections:
path: 'materio_flag/user_flagging_collections'
defaults:
_controller: '\Drupal\materio_flag\Controller\MaterioFlagController::getUsersFlaggingCollections'
_title: 'User Flagging Colleciton'
requirements:
_permission: 'access content'
2020-11-19 17:09:48 +01:00
materio_flag.create_user_flagging_collection:
path: 'materio_flag/create_user_flagging_collection'
defaults:
_controller: '\Drupal\materio_flag\Controller\MaterioFlagController::createUserFlaggingCollection'
_title: 'Create User Flagging Collection'
requirements:
2020-11-19 19:02:04 +01:00
_permission: 'add flag lists'
materio_flag.delete_user_flagging_collection:
path: 'materio_flag/delete_user_flagging_collection'
defaults:
_controller: '\Drupal\materio_flag\Controller\MaterioFlagController::deleteUserFlaggingCollection'
_title: 'Delete User Flagging Collection'
requirements:
_permission: 'edit own flag lists'