Код маршрутизации в Drupal 8

module_name.route_machine_name:
    path: '/{module_name}/personal-info'
    defaults:
        _form: 'Drupal\{module_name}\Form\InfoForm'
        _title: 'Personal information'
    requirements:    
        _permission : 'custom_module_permission'
Cooperative Copperhead