You are here

public function GeofieldMapSettingsForm::__construct in Geofield Map 8

Same name and namespace in other branches
  1. 8.2 src/Form/GeofieldMapSettingsForm.php \Drupal\geofield_map\Form\GeofieldMapSettingsForm::__construct()

GeofieldMapSettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

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

Overrides ConfigFormBase::__construct

File

src/Form/GeofieldMapSettingsForm.php, line 34

Class

GeofieldMapSettingsForm
Implements the GeofieldMapSettingsForm controller.

Namespace

Drupal\geofield_map\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, LinkGeneratorInterface $link_generator) {
  parent::__construct($config_factory);
  $this->link = $link_generator;
}