materio_user.routing.yml 906 B

12345678910111213141516171819202122232425262728293031
  1. materio_user.register_form:
  2. path: '/materio_user/register_form'
  3. defaults:
  4. _controller: '\Drupal\materio_user\Controller\AjaxRegisterForm::getForm'
  5. _format: json
  6. requirements:
  7. _access: 'TRUE'
  8. materio_user.login_form:
  9. path: '/materio_user/login_form'
  10. defaults:
  11. _controller: '\Drupal\materio_user\Controller\AjaxLoginForm::getForm'
  12. _format: json
  13. requirements:
  14. _access: 'TRUE'
  15. materio_user.login_block:
  16. path: '/materio_user/login_block'
  17. defaults:
  18. _controller: '\Drupal\materio_user\Controller\AjaxLoginBlock::getBlock'
  19. _format: json
  20. requirements:
  21. _access: 'TRUE'
  22. materio_user.privacy_policy:
  23. path: '/privacy-policy'
  24. defaults:
  25. _controller: '\Drupal\materio_user\Controller\MaterioUserPrivacyPolicy::getPp'
  26. _title_callback: '\Drupal\materio_user\Controller\MaterioUserPrivacyPolicy::getTitle'
  27. requirements:
  28. _permission: 'access content'