degov-8.x-2.0/modules/degov_common/degov_common.routing.yml
modules/degov_common/degov_common.routing.yml
degov.default_settings:
path: '/admin/config/degov'
defaults:
_form: '\Drupal\degov_common\Form\DegovSettingsForm'
_title: 'deGov distribution settings'
requirements:
_permission: 'administer degov'
degov_common.ajax_load_entity:
path: '/ajax-load-entity/{entity_type}/{entity_id}'
defaults:
_controller: '\Drupal\degov_common\Controller\CommonController::ajaxEntityLoad'
requirements:
_permission: 'access content'
degov_common.file_download:
path: /file/{file}/download
defaults:
_controller: '\Drupal\degov_common\Controller\FileController::download'
_title: 'Download file'
requirements:
_entity_access: 'file.download'
