You are here

public function GeocoderController::__construct in Geocoder autocomplete 8

Constructs a GeocoderController object.

Parameters

\Drupal\geocoder_autocomplete\GeocoderJsonConsumer $geocoder: A geocoder service.

File

src/Controller/GeocoderController.php, line 38

Class

GeocoderController
Default controller for the geocoder_autocomplete module.

Namespace

Drupal\geocoder_autocomplete\Controller

Code

public function __construct(GeocoderJsonConsumer $geocoder) {
  $this->geocoderService = $geocoder;
}