Same filename and directory in other branches
  1. 8.x-1.x entity_reference_ajax_formatter.routing.yml 1 comment
entity_reference_ajax_formatter.routing.yml
2 string references to YAML keys in entity_reference_ajax_formatter.routing.yml
EntityReferenceAjaxFormatter::viewElements in src/Plugin/Field/FieldFormatter/EntityReferenceAjaxFormatter.php
EntityReferenceAjaxFormatter::__construct in src/Plugin/Field/FieldFormatter/EntityReferenceAjaxFormatter.php
Constructs a EntityReferenceAjaxFormatter instance.

File

./entity_reference_ajax_formatter.routing.yml

View source
  1. entity_reference_ajax_formatter.ajax_field:
  2. path: '/ajax_field/{entity_type}/{entity}/{field_name}/{view_mode}/{language}/{start}/{printed}'
  3. defaults:
  4. _controller: '\Drupal\entity_reference_ajax_formatter\Controller\EntityReferenceAjaxController::viewField'
  5. _title: 'Entity Reference Ajax Controller'
  6. printed: null
  7. options:
  8. parameters:
  9. entity:
  10. type: entity:{entity_type}
  11. no_cache: true
  12. requirements:
  13. _permission: 'access content'