Files
edlp_d8/web/modules/custom/edlp_ajax/edlp_ajax.routing.yml
T

21 lines
593 B
YAML

edlp_ajax.entityjson:
path: '/edlp/ajax/entity/json/{entity_type}/{id}/{viewmode}'
defaults:
_controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::entityjson'
_title: 'EdlpAjaxEntityJson'
entity_type : null
id: null
viewmode: 'default'
requirements:
_permission: 'access content'
# NOT USED (YET)
edlp_ajax.blocksjson:
path: '/edlp/ajax/blocks/json/{blockid}'
defaults:
_controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::blocksjson'
_title: 'EdlpAjaxBlockJson'
blockid: null
requirements:
_permission: 'access content'