2021-04-09 13:08:52 +02:00
|
|
|
farm.locations:
|
2021-04-16 22:10:31 +02:00
|
|
|
path: '/locations'
|
2021-04-09 12:59:18 +02:00
|
|
|
defaults:
|
2021-12-01 13:28:01 +01:00
|
|
|
_title_callback: '\Drupal\farm_ui_location\Form\LocationHierarchyForm::getTitle'
|
|
|
|
_form: '\Drupal\farm_ui_location\Form\LocationHierarchyForm'
|
2021-04-09 12:59:18 +02:00
|
|
|
requirements:
|
2021-06-05 15:04:01 +02:00
|
|
|
_permission: 'access locations overview'
|
2021-04-09 12:59:18 +02:00
|
|
|
|
2021-04-09 13:08:52 +02:00
|
|
|
farm.asset.locations:
|
2021-04-09 12:59:18 +02:00
|
|
|
path: '/asset/{asset}/locations'
|
|
|
|
defaults:
|
2021-12-01 13:28:01 +01:00
|
|
|
_title_callback: '\Drupal\farm_ui_location\Form\LocationHierarchyForm::getTitle'
|
|
|
|
_form: '\Drupal\farm_ui_location\Form\LocationHierarchyForm'
|
2021-04-09 12:59:18 +02:00
|
|
|
requirements:
|
|
|
|
_entity_access: 'asset.edit'
|
2021-12-01 13:28:01 +01:00
|
|
|
_custom_access: '\Drupal\farm_ui_location\Form\LocationHierarchyForm::access'
|
2021-04-09 12:59:18 +02:00
|
|
|
_module_dependencies: 'asset'
|
|
|
|
asset: \d+
|
|
|
|
options:
|
|
|
|
parameters:
|
|
|
|
asset:
|
|
|
|
type: entity:asset
|