social_lms_integrator-1.0.0-beta4/modules/social_lms_integrator_enrollment/social_lms_integrator_enrollment.routing.yml
modules/social_lms_integrator_enrollment/social_lms_integrator_enrollment.routing.yml
social_lms_integrator_enrollment.request_enroll_dialog:
path: '/node/{node}/iteration-enroll-dialog-request'
defaults:
_controller: '\Drupal\social_lms_integrator_enrollment\Controller\IterationEnrollRequestDialogController::enrollDialog'
_title_callback: '\Drupal\social_lms_integrator_enrollment\Controller\IterationEnrollRequestDialogController::enrollTitle'
options:
parameters:
node:
type: entity:node
requirements:
_custom_access: '\Drupal\social_lms_integrator_enrollment\Controller\IterationEnrollRequestDialogController::enrollAccess'
modal_form_application.form:
path: '/application/config/application_form'
defaults:
_form: 'Drupal\social_lms_integrator_enrollment\Form\ApplicationForm'
_title: 'Application Form'
requirements:
_permission: 'access content'
modal_form_application.open_modal_form:
path: '/application/config/modal_form_application'
defaults:
_title: 'Application'
_controller: '\Drupal\social_lms_integrator_enrollment\Controller\ModalFormApplicationController::openModalForm'
requirements:
_permission: 'access content'
options:
_admin_route: FALSE
modal_form_nomination.form:
path: '/node/{node}/nomination-form'
defaults:
_form: 'Drupal\social_lms_integrator_enrollment\Form\NominationForm'
_title: 'Nomination Form'
options:
parameters:
node:
type: entity:node
requirements:
_permission: 'access content'
social_lms_integrator_enrollment.request_nomination_dialog:
path: '/node/{node}/modal-form-nomination'
defaults:
_controller: '\Drupal\social_lms_integrator_enrollment\Controller\IterationNominationRequestDialogController::nominationDialog'
_title_callback: '\Drupal\social_lms_integrator_enrollment\Controller\IterationNominationRequestDialogController::nominationTitle'
options:
parameters:
node:
type: entity:node
requirements:
_custom_access: '\Drupal\social_lms_integrator_enrollment\Controller\IterationNominationRequestDialogController::nominationAccess'
social_lms_integrator_enrollment.request_application_dialog:
path: '/node/{node}/modal-form-application'
defaults:
_controller: '\Drupal\social_lms_integrator_enrollment\Controller\IterationApplicationRequestDialogController::applicationDialog'
_title_callback: '\Drupal\social_lms_integrator_enrollment\Controller\IterationApplicationRequestDialogController::applicationTitle'
options:
parameters:
node:
type: entity:node
requirements:
_custom_access: '\Drupal\social_lms_integrator_enrollment\Controller\IterationApplicationRequestDialogController::applicationAccess'
form_iteration_action.form:
path: '/form-iteration-action/{node}'
defaults:
_form: 'Drupal\social_lms_integrator_enrollment\Form\IterationActionForm'
_title: 'Request to Enroll'
options:
parameters:
node:
type: entity:node
requirements:
_permission: 'access content'
social_lms_integrator_enrollment.application_download_file:
path: '/download/file/application_template'
defaults:
_controller: '\Drupal\social_lms_integrator_enrollment\Controller\PdfDownloadController::download'
requirements:
_permission: 'access content'
social_lms_integrator_enrollment.update_enrollment_request:
path: '/node/{node}/all-iteration-enrollment-requests/update-enrollment/{iteration_enrollment}/{approve}'
defaults:
_controller: '\Drupal\social_lms_integrator_enrollment\Controller\UpdateEnrollRequestController::updateEnrollmentRequest'
options:
parameters:
node:
type: entity:node
iteration_enrollment:
type: entity:iteration_enrollment
requirements:
_custom_access: '\Drupal\social_lms_integrator_enrollment\Controller\UpdateEnrollRequestController::access'
approve: '[0-1]+'
social_lms_integrator_enrollment.enrollment_request_decline_form:
path: '/node/{node}/all-iteration-enrollment-requests/confirm-decline/{iteration_enrollment}'
defaults:
_form: '\Drupal\social_lms_integrator_enrollment\Form\EnrollRequestDeclineForm'
_title_callback: '\Drupal\social_lms_integrator_enrollment\Controller\IterationEnrollmentController::getTitleDeclineRequest'
options:
parameters:
node:
type: entity:node
iteration_enrollment:
type: entity:iteration_enrollment
requirements:
_custom_access: '\Drupal\social_lms_integrator_enrollment\Controller\UpdateEnrollRequestController::access'
social_lms_integrator_enrollment.settings:
path: '/admin/config/social_lms_integrator/enrollment'
defaults:
_form: '\Drupal\social_lms_integrator_enrollment\Form\EnrollmentSettingsForm'
_title: 'Enrollment settings'
requirements:
_permission: 'administer social_lms_integrator settings'
options:
_admin_route: TRUE