Same name and namespace in other branches
- 8.x-1.x src/Controller/EntityReferenceAjaxController.php \Drupal\entity_reference_ajax_formatter\Controller\EntityReferenceAjaxController::__construct() 1 comment
Constructs a new EntityReferenceAjaxController.
Parameters
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
-
src/
Controller/ EntityReferenceAjaxController.php, line 34
Class
- EntityReferenceAjaxController
- Returns responses for our ajaxified entity reference route.
Namespace
Drupal\entity_reference_ajax_formatter\ControllerCode
public function __construct(RendererInterface $renderer) {
$this->renderer = $renderer;
}