public function AutocompleteController::__construct in Linkit 8.4
Same name and namespace in other branches
- 8.5 src/Controller/AutocompleteController.php \Drupal\linkit\Controller\AutocompleteController::__construct()
Constructs a EntityAutocompleteController object.
Parameters
ResultManager $resultManager: The result service.
\Drupal\Core\Entity\EntityStorageInterface $linkit_profile_storage: The linkit profile storage service.
File
- src/
Controller/ AutocompleteController.php, line 49 - Contains \Drupal\linkit\Controller\AutocompleteController.
Class
Namespace
Drupal\linkit\ControllerCode
public function __construct(EntityStorageInterface $linkit_profile_storage, ResultManager $resultManager) {
$this->linkitProfileStorage = $linkit_profile_storage;
$this->resultManager = $resultManager;
}