social_event.routing.yml in Open Social 10.0.x
Same filename and directory in other branches
- 8.9 modules/social_features/social_event/social_event.routing.yml
- 8 modules/social_features/social_event/social_event.routing.yml
- 8.2 modules/social_features/social_event/social_event.routing.yml
- 8.3 modules/social_features/social_event/social_event.routing.yml
- 8.4 modules/social_features/social_event/social_event.routing.yml
- 8.5 modules/social_features/social_event/social_event.routing.yml
- 8.6 modules/social_features/social_event/social_event.routing.yml
- 8.7 modules/social_features/social_event/social_event.routing.yml
- 8.8 modules/social_features/social_event/social_event.routing.yml
- 10.3.x modules/social_features/social_event/social_event.routing.yml
- 10.1.x modules/social_features/social_event/social_event.routing.yml
- 10.2.x modules/social_features/social_event/social_event.routing.yml
modules/social_features/social_event/social_event.routing.yml
8 string references to YAML keys in social_event.routing.yml
- EnrollActionForm::buildForm in modules/
social_features/ social_event/ src/ Form/ EnrollActionForm.php - Form constructor.
- EventSettingsForm::buildForm in modules/
social_features/ social_event/ src/ Form/ EventSettingsForm.php - Form constructor.
- EventSettingsForm::getEditableConfigNames in modules/
social_features/ social_event/ src/ Form/ EventSettingsForm.php - Gets the configuration names that will be editable.
- social_event_entity_operation_alter in modules/
social_features/ social_event/ social_event.module - Implements hook_entity_operation_alter().
- social_event_preprocess_field in modules/
social_features/ social_event/ social_event.module - Implements hook_preprocess_field().
File
modules/social_features/social_event/social_event.routing.ymlView source
- social_event.my_events:
- path: '/my-events'
- defaults:
- _controller: '\Drupal\social_event\Controller\SocialEventController::redirectMyEvents'
- requirements:
- _user_is_logged_in: 'TRUE'
-
- social_event.settings:
- path: '/admin/config/opensocial/event'
- defaults:
- _form: '\Drupal\social_event\Form\EventSettingsForm'
- _title: 'Event settings'
- requirements:
- _permission: 'administer social_event settings'
- options:
- _admin_route: TRUE
-
- social_event.update_enrollment_request:
- path: '/node/{node}/all-enrollment-requests/update-enrollment/{event_enrollment}/{approve}'
- defaults:
- _controller: '\Drupal\social_event\Controller\UpdateEnrollRequestController::updateEnrollmentRequest'
- options:
- parameters:
- node:
- type: entity:node
- event_enrollment:
- type: entity:event_enrollment
- requirements:
- _custom_access: '\Drupal\social_event\Controller\UpdateEnrollRequestController::access'
- approve: '[0-1]+'
-
- social_event.enrollment_request_decline_form:
- path: '/node/{node}/all-enrollment-requests/confirm-decline/{event_enrollment}'
- defaults:
- _form: '\Drupal\social_event\Form\EnrollRequestDeclineForm'
- _title_callback: '\Drupal\social_event\Controller\SocialEventController::getTitleDeclineRequest'
- options:
- parameters:
- node:
- type: entity:node
- event_enrollment:
- type: entity:event_enrollment
- requirements:
- _custom_access: '\Drupal\social_event\Controller\UpdateEnrollRequestController::access'
-
- social_event.request_enroll_dialog:
- path: '/node/{node}/enroll-dialog-request'
- defaults:
- _controller: '\Drupal\social_event\Controller\EnrollRequestDialogController::enrollDialog'
- _title_callback: '\Drupal\social_event\Controller\EnrollRequestDialogController::enrollTitle'
- options:
- parameters:
- node:
- type: entity:node
- requirements:
- _custom_access: '\Drupal\social_event\Controller\EnrollRequestDialogController::enrollAccess'