You are here

public function ProtectedSubmissionsForm::__construct in Protected Submissions 8

ProtectedSubmissionsForm constructor.

Parameters

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

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The moduler handler.

Overrides ConfigFormBase::__construct

File

src/Form/ProtectedSubmissionsForm.php, line 41

Class

ProtectedSubmissionsForm
ProtectedSubmissionsForm class.

Namespace

Drupal\protected_submissions\Form

Code

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