You are here

public function MpacAutocompleteController::__construct in Multi-path autocomplete 8

Constructs an MpacAutocompleteController object.

Parameters

\Drupal\mpac\MpacAutocomplete $mpac_autocomplete: The mpac autocomplete helper class to find matching items.

File

lib/Drupal/mpac/MpacAutocompleteController.php, line 32
Contains \Drupal\mpac\MpacAutocompleteController.

Class

MpacAutocompleteController
Controller routines for mpax autocomplete routes.

Namespace

Drupal\mpac

Code

public function __construct(MpacAutocomplete $mpac_autocomplete) {
  $this->mpacAutocomplete = $mpac_autocomplete;
}