You are here

public static function MpacAutocompleteController::create in Multi-path autocomplete 8

Implements \Drupal\Core\ControllerInterface::create().

Overrides ContainerInjectionInterface::create

File

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

Class

MpacAutocompleteController
Controller routines for mpax autocomplete routes.

Namespace

Drupal\mpac

Code

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