You are here

public function HijirSettingsForm::__construct in Hijri 1.0.x

Same name and namespace in other branches
  1. 8.2 src/Form/HijirSettingsForm.php \Drupal\hijri\Form\HijirSettingsForm::__construct()
  2. 3.0.x src/Form/HijirSettingsForm.php \Drupal\hijri\Form\HijirSettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/HijirSettingsForm.php, line 25

Class

HijirSettingsForm

Namespace

Drupal\hijri\Form

Code

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