edlp_ajax.routing.yml 809 B

12345678910111213141516171819202122232425262728
  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.entityjson:
  9. path: '/edlp/ajax/entity/json/{entity_type}/{id}/{viewmode}'
  10. defaults:
  11. _controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::entityjson'
  12. _title: 'EdlpAjaxEntityJson'
  13. entity_type : null
  14. id: null
  15. viewmode: 'default'
  16. requirements:
  17. _permission: 'access content'
  18. # NOT USED (YET)
  19. edlp_ajax.blocksjson:
  20. path: '/edlp/ajax/blocks/json/{blockid}'
  21. defaults:
  22. _controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::blocksjson'
  23. _title: 'EdlpAjaxBlockJson'
  24. blockid: null
  25. requirements:
  26. _permission: 'access content'