function EntityLinkSuggestionsController::__construct

Same name and namespace in other branches
  1. 11.x core/modules/ckeditor5/src/Controller/EntityLinkSuggestionsController.php \Drupal\ckeditor5\Controller\EntityLinkSuggestionsController::__construct()

Constructs a EntityLinkSuggestionsController.

File

core/modules/ckeditor5/src/Controller/EntityLinkSuggestionsController.php, line 43

Class

EntityLinkSuggestionsController
Returns responses for entity link suggestions autocomplete route.

Namespace

Drupal\ckeditor5\Controller

Code

public function __construct(protected readonly SelectionPluginManagerInterface $selectionPluginManager, protected readonly EntityTypeBundleInfoInterface $entityTypeBundleInfo, protected readonly EntityRepositoryInterface $entityRepository, protected readonly DateFormatterInterface $dateFormatter) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.