invite.routing.yml in Invite 8
5 string references to YAML keys in invite.routing.yml
- InviteConfig::buildForm in src/
Form/ InviteConfig.php - Form constructor.
- InviteConfig::getEditableConfigNames in src/
Form/ InviteConfig.php - Gets the configuration names that will be editable.
- InviteList::getOperations in src/
Controller/ InviteList.php - Get operations links like withdraw and resend invitation.
- InviteResendForm::submitForm in src/
Form/ InviteResendForm.php - Form submission handler.
- InviteWithdrawForm::submitForm in src/
Form/ InviteWithdrawForm.php - Form submission handler.
File
invite.routing.ymlView source
- invite.invite_accept_accept:
- path: '/invite/accept/{invite}'
- defaults:
- _controller: '\Drupal\invite\Controller\InviteAccept::accept'
- _title: 'accept'
- requirements:
- _permission: 'access content'
- reg_code: ^[a-zA-Z0-9]+
- options:
- parameters:
- invite:
- type: reg_code
-
- invite.invite:
- path: '/admin/config/people/invite'
- defaults:
- _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
- _title: 'Invite'
- requirements:
- _permission: 'access administration pages'
-
- invite.invite_config:
- path: '/admin/config/invite/invite_config'
- defaults:
- _form: '\Drupal\invite\Form\InviteConfig'
- _title: 'Invite Config'
- requirements:
- _permission: 'access administration pages'
- options:
- _admin_route: TRUE
-
- invite.invite_list:
- path: 'invite/list'
- defaults:
- _controller: '\Drupal\invite\Controller\InviteList::view'
- _title: 'Invite list'
- requirements:
- _permission: 'access administration pages'
- options:
- _admin_route: TRUE
-
- invite.invite_withdraw_form:
- path: 'invite/withdraw/{invite}'
- defaults:
- _form: '\Drupal\invite\Form\InviteWithdrawForm'
- _title: 'Withdraw Invite'
- requirements:
- _custom_access: '\Drupal\invite\Controller\InviteAccessController::withdrawInviteAccess'
-
- invite.invite_resend_form:
- path: 'invite/resend/{invite}'
- defaults:
- _form: '\Drupal\invite\Form\InviteResendForm'
- _title: 'Resend Invite'
- requirements:
- _custom_access: '\Drupal\invite\Controller\InviteAccessController::resendInviteAccess'