You are here

public function SettingsForm::__construct in Leaflet More Maps 2.1.x

Class constructor.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler:

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 36

Class

SettingsForm
Form to enter global settings and to assemble custom maps from overlays.

Namespace

Drupal\leaflet_more_maps\Form

Code

public function __construct(ModuleHandlerInterface $moduleHandler, ConfigFactoryInterface $config_factory) {
  $this->moduleHandler = $moduleHandler;
  $this->configFactory = $config_factory;
}