Same name and namespace in other branches
  1. 8.x-1.x src/Controller/EntityReferenceAjaxController.php \Drupal\entity_reference_ajax_formatter\Controller\EntityReferenceAjaxController::create() 1 comment

File

src/Controller/EntityReferenceAjaxController.php, line 89

Class

EntityReferenceAjaxController
Returns responses for our ajaxified entity reference route.

Namespace

Drupal\entity_reference_ajax_formatter\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('renderer'));
}