edlp_ajax.routing.yml 736 B

12345678910111213141516171819202122232425
  1. # @Author: Bachir Soussi Chiadmi <bach>
  2. # @Date: 13-12-2017
  3. # @Email: bachir@figureslibres.io
  4. # @Filename: edlp_corpus.routing.yml
  5. # @Last modified by: bach
  6. # @Last modified time: 20-12-2017
  7. # @License: GPL-V3
  8. edlp_ajax.node:
  9. path: '/edlp/ajax/{entity_type}/{id}/{viewmode}'
  10. defaults:
  11. _controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::entity'
  12. _title: 'EdlpAjax'
  13. viewmode: 'default'
  14. requirements:
  15. _permission: 'access content'
  16. edlp_ajax.ajaxnode:
  17. path: '/edlp/ajax/json/{entity_type}/{id}/{viewmode}'
  18. defaults:
  19. _controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::entityjson'
  20. _title: 'EdlpAjaxJson'
  21. viewmode: 'default'
  22. requirements:
  23. _permission: 'access content'