protected_pages.routing.yml in Protected Pages 8
11 string references to YAML keys in protected_pages.routing.yml
- ProtectedPagesAddForm::submitForm in src/
Form/ ProtectedPagesAddForm.php - Form submission handler.
- ProtectedPagesDeleteConfirmForm::getCancelUrl in src/
Form/ ProtectedPagesDeleteConfirmForm.php - Returns the route to go to if the user cancels the action.
- ProtectedPagesEditForm::submitForm in src/
Form/ ProtectedPagesEditForm.php - Form submission handler.
- ProtectedPagesSendEmailForm::getFormId in src/
Form/ ProtectedPagesSendEmailForm.php - Returns a unique string identifying the form.
- ProtectedPagesSendEmailForm::submitForm in src/
Form/ ProtectedPagesSendEmailForm.php - Form submission handler.
File
protected_pages.routing.ymlView source
- protected_pages_list:
- path: 'admin/config/system/protected_pages'
- defaults:
- _title: 'Protected Pages'
- _controller: '\Drupal\protected_pages\Controller\ProtectedPagesController::protectedPagesList'
- requirements:
- _permission: 'administer protected pages configuration'
-
- protected_pages_add:
- path: 'admin/config/system/protected_pages/add'
- defaults:
- _title: 'Add Protected Page'
- _form: '\Drupal\protected_pages\Form\ProtectedPagesAddForm'
- requirements:
- _permission: 'administer protected pages configuration'
-
- protected_pages_edit:
- path: 'admin/config/system/protected_pages/{pid}/edit'
- defaults:
- _title: 'Edit Protected Page'
- _form: '\Drupal\protected_pages\Form\ProtectedPagesEditForm'
- requirements:
- _permission: 'administer protected pages configuration'
-
- protected_pages_delete:
- path: 'admin/config/system/protected_pages/{pid}/delete'
- defaults:
- _title: 'Delete Protected Page'
- _form: '\Drupal\protected_pages\Form\ProtectedPagesDeleteConfirmForm'
- requirements:
- _permission: 'administer protected pages configuration'
-
- protected_pages_send_email:
- path: 'admin/config/system/protected_pages/{pid}/send_email'
- defaults:
- _title: 'Send protected pages details to user by email'
- _form: '\Drupal\protected_pages\Form\ProtectedPagesSendEmailForm'
- requirements:
- _permission: 'administer protected pages configuration'
-
- protected_pages_settings:
- path: 'admin/config/system/protected_pages/settings'
- defaults:
- _title: 'Settings'
- _form: '\Drupal\protected_pages\Form\ProtectedPagesSettingForm'
- requirements:
- _permission: 'administer protected pages configuration'
-
- protected_pages_login_page:
- path: 'protected-page'
- defaults:
- _title_callback: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm::protectedPageTitle'
- _title: 'Protected page - Enter Password'
- _form: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm'
- requirements:
- _custom_access: '\Drupal\protected_pages\Form\ProtectedPagesLoginForm::accessProtectedPageLoginScreen'