change_pwd_page.routing.yml in Password Separate Form 8
3 string references to YAML keys in change_pwd_page.routing.yml
- ChangePasswordResetForm::submitForm in src/
Form/ ChangePasswordResetForm.php - Form submission handler.
- ChangePwdPageController::changePass in src/
Controller/ ChangePwdPageController.php - Redirects users to their password change form.
- _change_pwd_page_set_password_policy_setting in ./
change_pwd_page.install - Helper function to update password policy config.
File
change_pwd_page.routing.ymlView source
- change_pwd_page.change_password:
- path: '/user/change-password'
- defaults:
- _controller: '\Drupal\change_pwd_page\Controller\ChangePwdPageController::changePass'
- _title: 'Password Separate Form'
- requirements:
- _user_is_logged_in: 'TRUE'
-
- change_pwd_page.change_password_form:
- path: '/user/{user}/change-password'
- defaults:
- _form: '\Drupal\change_pwd_page\Form\ChangePasswordForm'
- _title: 'Password Separate Form'
- requirements:
- _entity_access: 'user.update'
- user: \d+
- options:
- _admin_route: TRUE
- parameters:
- user:
- type: entity:user
-
- change_pwd_page.reset:
- path: '/user/reset/{uid}/{timestamp}/{hash}/new/login'
- defaults:
- _controller: '\Drupal\change_pwd_page\Controller\ChangePwdPageController::resetPass'
- _title: 'Reset password'
- requirements:
- _access: 'TRUE'
- options:
- _maintenance_access: TRUE
- no_cache: TRUE