Same filename and directory in other branches
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
View source
- entity_reference_ajax_formatter.ajax_field:
- path: '/ajax_field/{entity_type}/{entity}/{field_name}/{view_mode}/{language}/{start}/{printed}'
- defaults:
- _controller: '\Drupal\entity_reference_ajax_formatter\Controller\EntityReferenceAjaxController::viewField'
- _title: 'Entity Reference Ajax Controller'
- printed: null
- options:
- parameters:
- entity:
- type: entity:{entity_type}
- no_cache: true
- requirements:
- _permission: 'access content'