flag_lists.routing.yml in Flag Lists 8
File
flag_lists.routing.yml
View source
- flag_lists.settings:
- path: '/admin/structure/flag_lists'
- defaults:
- _entity_list: 'flag_for_list'
- _title: 'Templates for flag lists'
- requirements:
- _permission: 'administer flag lists'
-
- #flag_lists.add_page:
- # path: '/admin/structure/flag_lists/add'
- # defaults:
- # _form: '\Drupal\flag_lists\Form\FlagForListForm'
- # _title: 'Add template'
- # requirements:
- # _permission: 'administer flag lists'
-
- flag_lists.action_link_flag:
- path: '/flag/flag/{flag}/{entity_id}/{flag_list}'
- defaults:
- _controller: '\Drupal\flag_lists\Controller\ActionLinkController::flag'
- methods: [POST]
- requirements:
- _flag_access: 'entity:flag{flag}'
- _format: 'html'
- _csrf_token: 'TRUE'
-
- flag_lists.action_link_flag_nojs:
- path: '/flag/flag/{flag}/{entity_id}/{flag_list}'
- defaults:
- _controller: '\Drupal\flag_lists\Controller\ActionLinkNoJsController::flag'
- methods: [GET]
- requirements:
- _flag_access: 'entity:flag{flag}'
- _format: 'html'
- _csrf_token: 'TRUE'
-
- flag_lists.action_link_unflag:
- path: '/flag/unflag/{flag}/{entity_id}/{flag_list}'
- defaults:
- _controller: '\Drupal\flag_lists\Controller\ActionLinkController::unflag'
- methods: [POST]
- requirements:
- _unflag_access: 'entity:flag{flag}'
- _format: 'html'
- _csrf_token: 'TRUE'
-
- flag_lists.action_link_unflag_nojs:
- path: '/flag/unflag/{flag}/{entity_id}/{flag_list}'
- defaults:
- _controller: '\Drupal\flag_lists\Controller\ActionLinkNoJsController::unflag'
- methods: [GET]
- requirements:
- _unflag_access: 'entity:flag{flag}'
- _format: 'html'
- _csrf_token: 'TRUE'
-
- flagging_collection.add:
- path: '/flagging_collection/add'
- defaults:
- _entity_form: entity.flagging_collection.add_page
- _title: 'Add Flagging collection'
- requirements:
- _permission: 'add flag lists'
-
- entity.flag_list_item.collection:
- path: '/admin/structure/flag_lists/flag_list_item/flag_list_item'
- defaults:
- _entity_list: 'flag_list_item'
- _title: 'Flag List Item Handling'
- requirements:
- _custom_access: '\Drupal\flag_lists\Access\FlagListItemAccess::customAccess'
-