Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mycustommodule.register:
- path: '/profile/register'
- defaults:
- _entity_form: 'user.register'
- _title: 'Create new account'
- requirements:
- _access_user_register: 'TRUE'
- mycustommodule.pass:
- path: '/profile/password'
- defaults:
- _form: 'DrupaluserFormUserPasswordForm'
- _title: 'Reset your password'
- requirements:
- _access: 'TRUE'
- options:
- _maintenance_access: TRUE
- mycustommodule.page:
- path: '/profile'
- defaults:
- _controller: 'DrupaluserControllerUserController::userPage'
- _title: 'My account'
- requirements:
- _user_is_logged_in: 'TRUE'
- mycustommodule.login:
- path: '/profile/login'
- defaults:
- _form: 'DrupaluserFormUserLoginForm'
- _title: 'Log in'
- requirements:
- _user_is_logged_in: 'FALSE'
- options:
- _maintenance_access: TRUE
- mycustommodule.login.http:
- path: '/profile/login'
- defaults:
- _controller: DrupaluserControllerUserAuthenticationController::login
- methods: [POST]
- requirements:
- _user_is_logged_in: 'FALSE'
- _format: 'json'
- mycustommodule.login_status.http:
- path: '/profile/login_status'
- defaults:
- _controller: DrupaluserControllerUserAuthenticationController::loginStatus
- methods: [GET]
- requirements:
- _access: 'TRUE'
- _format: 'json'
- mycustommodule.logout.http:
- path: '/profile/logout'
- defaults:
- _controller: DrupaluserControllerUserAuthenticationController::logout
- methods: [POST]
- requirements:
- _user_is_logged_in: 'TRUE'
- _format: 'json'
- _csrf_token: 'TRUE'
- mycustommodule.cancel_confirm:
- path: '/profile/{user}/cancel/confirm/{timestamp}/{hashed_pass}'
- defaults:
- _title: 'Confirm account cancellation'
- _controller: 'DrupaluserControllerUserController::confirmCancel'
- timestamp: 0
- hashed_pass: ''
- requirements:
- _entity_access: 'user.delete'
- user: d+
- mycustommodule.reset.login:
- path: '/profile/reset/{uid}/{timestamp}/{hash}/login'
- defaults:
- _controller: 'DrupaluserControllerUserController::resetPassLogin'
- _title: 'Reset password'
- requirements:
- _user_is_logged_in: 'FALSE'
- options:
- _maintenance_access: TRUE
- no_cache: TRUE
- mycustommodule.reset:
- path: '/profile/reset/{uid}/{timestamp}/{hash}'
- defaults:
- _controller: 'DrupaluserControllerUserController::resetPass'
- _title: 'Reset password'
- requirements:
- _access: 'TRUE'
- options:
- _maintenance_access: TRUE
- no_cache: TRUE
- mycustommodule.reset.form:
- path: '/profile/reset/{uid}'
- defaults:
- _controller: 'DrupaluserControllerUserController::getResetPassForm'
- _title: 'Reset password'
- requirements:
- _user_is_logged_in: 'FALSE'
- options:
- _maintenance_access: TRUE
- no_cache: TRUE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement