You are here

public function ShieldSettingsForm::__construct in Shield 8

ShieldSettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler:

\Drupal\key\Plugin\KeyPluginManager|null $keyTypeManager:

Overrides ConfigFormBase::__construct

File

src/Form/ShieldSettingsForm.php, line 39

Class

ShieldSettingsForm
Configure site information settings for this site.

Namespace

Drupal\shield\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $moduleHandler, KeyPluginManager $keyTypeManager = NULL) {
  parent::__construct($config_factory);
  $this->moduleHandler = $moduleHandler;
  $this->keyTypeManager = $keyTypeManager;
}