autologout.routing.yml 976 B

12345678910111213141516171819202122232425262728293031323334
  1. autologout.set_admin:
  2. path: '/admin/config/people/autologout'
  3. defaults:
  4. _form: '\Drupal\autologout\Form\AutologoutSettingsForm'
  5. _title: 'Automated logout settings'
  6. requirements:
  7. _permission: 'administer autologout'
  8. autologout.ahah_logout:
  9. path: '/autologout_ahah_logout'
  10. defaults:
  11. _controller: '\Drupal\autologout\Controller\AutologoutController::ahahLogout'
  12. options:
  13. _theme: ajax_base_page
  14. requirements:
  15. _user_is_logged_in: 'TRUE'
  16. autologout.ahah_set_last:
  17. path: '/autologout_ahah_set_last'
  18. defaults:
  19. _controller: '\Drupal\autologout\Controller\AutologoutController::ahahSetLast'
  20. options:
  21. _theme: ajax_base_page
  22. requirements:
  23. _user_is_logged_in: 'TRUE'
  24. autologout.ajax_get_time_left:
  25. path: '/autologout_ajax_get_time_left'
  26. defaults:
  27. _controller: '\Drupal\autologout\Controller\AutologoutController::ahahGetRemainingTime'
  28. options:
  29. _theme: ajax_base_page
  30. requirements:
  31. _user_is_logged_in: 'TRUE'