You are here

public function GeocoderProviderCreationForm::__construct in Geocoder 8.3

Constructs a new GeocoderProviderCreationForm.

Parameters

\Drupal\geocoder\ProviderPluginManager $plugin_manager: The geocoder provider plugin manager.

\Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The Link Generator service.

File

src/Form/GeocoderProviderCreationForm.php, line 44

Class

GeocoderProviderCreationForm
Provides a simple form that allows to select the provider type.

Namespace

Drupal\geocoder\Form

Code

public function __construct(ProviderPluginManager $plugin_manager, LinkGeneratorInterface $link_generator) {
  $this->pluginManager = $plugin_manager;
  $this->link = $link_generator;
}