You are here

leaflet_views.routing.yml in Leaflet 2.0.x

modules/leaflet_views/leaflet_views.routing.yml

File

modules/leaflet_views/leaflet_views.routing.yml
View source
  1. leaflet_views.ajax_popup:
  2. path: '/leaflet-ajax-popup/{entity_type}/{entity}/{view_mode}/{langcode}'
  3. defaults:
  4. _controller: '\Drupal\leaflet_views\Controller\LeafletAjaxPopupController::popupBuild'
  5. requirements:
  6. _custom_access: '\Drupal\leaflet_views\Controller\LeafletAjaxPopupController::accessCheck'
  7. options:
  8. parameters:
  9. entity:
  10. type: entity:{entity_type}