farmOS/modules/core/quick/farm_quick.routing.yml

23 lines
608 B
YAML
Raw Normal View History

farm.quick:
path: '/quick'
defaults:
_controller: '\Drupal\farm_quick\Controller\QuickFormController::index'
_title: 'Quick forms'
requirements:
2023-08-11 02:13:28 +02:00
_permission: 'view quick_form'
2021-10-25 22:24:17 +02:00
farm_quick.configure:
path: /quick/{quick_form}/configure
defaults:
_entity_form: quick_form.configure
_title_callback: \Drupal\farm_quick\Form\ConfigureQuickForm::getTitle
requirements:
_custom_access: \Drupal\farm_quick\Form\ConfigureQuickForm::access
options:
parameters:
quick_form:
type: string
route_callbacks:
- '\Drupal\farm_quick\Routing\QuickFormRoutes::routes'