materio_home.routing.yml 415 B

123456789101112131415
  1. materio_home.home:
  2. path: 'home'
  3. defaults:
  4. _controller: '\Drupal\materio_home\Controller\HomeController::home'
  5. _title: 'Home'
  6. requirements:
  7. _permission: 'access content'
  8. materio_home.ajax_home:
  9. path: 'materio_home/ajax/gethome'
  10. defaults:
  11. _controller: '\Drupal\materio_home\Controller\AjaxHomeController::getHome'
  12. _title: 'ajaxGetHome'
  13. requirements:
  14. _permission: 'access content'