masquerade.routing.yml in Masquerade 8.2
1 string reference to YAML keys in masquerade.routing.yml
- masquerade_toolbar in ./
masquerade.module - Implements hook_toolbar().
File
masquerade.routing.ymlView source
- masquerade.block:
- path: '/masquerade'
- defaults:
- _form: '\Drupal\masquerade\Form\MasqueradeForm'
- _title: 'Masquerade'
- options:
- no_cache: TRUE
- requirements:
- _masquerade_switch_access: 'TRUE'
-
- entity.user.masquerade:
- path: '/user/{user}/masquerade'
- defaults:
- _controller: '\Drupal\masquerade\Controller\SwitchController::switchTo'
- _title: 'Masquerade'
- requirements:
- _csrf_token: 'TRUE'
-
- masquerade.unmasquerade:
- path: '/unmasquerade'
- defaults:
- _controller: '\Drupal\masquerade\Controller\SwitchController::switchBack'
- _title: 'Unmasquerade'
- requirements:
- _user_is_masquerading: 'TRUE'
- _csrf_token: 'TRUE'