ds_extras.routing.yml in Display Suite 8.3
Same filename and directory in other branches
modules/ds_extras/ds_extras.routing.yml
1 string reference to YAML keys in ds_extras.routing.yml
- SwitchField::build in modules/
ds_extras/ src/ Plugin/ DsField/ SwitchField.php - Renders a field.
File
modules/ds_extras/ds_extras.routing.ymlView source
- ds_extras.switch_view_mode:
- path: '/ds-switch-view-mode/{entityType}/{entityId}/{viewMode}'
- defaults:
- _controller: '\Drupal\ds_extras\Controller\DsExtrasController::switchViewMode'
- requirements:
- _permission: 'access content'
- _custom_access: '\Drupal\ds_extras\Controller\DsExtrasController::accessSwitchViewMode'