edlp_ajax.routing.yml 593 B

1234567891011121314151617181920
  1. edlp_ajax.entityjson:
  2. path: '/edlp/ajax/entity/json/{entity_type}/{id}/{viewmode}'
  3. defaults:
  4. _controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::entityjson'
  5. _title: 'EdlpAjaxEntityJson'
  6. entity_type : null
  7. id: null
  8. viewmode: 'default'
  9. requirements:
  10. _permission: 'access content'
  11. # NOT USED (YET)
  12. edlp_ajax.blocksjson:
  13. path: '/edlp/ajax/blocks/json/{blockid}'
  14. defaults:
  15. _controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::blocksjson'
  16. _title: 'EdlpAjaxBlockJson'
  17. blockid: null
  18. requirements:
  19. _permission: 'access content'