public function SinglePageSiteConfigForm::__construct in Single Page Site 8
Same name and namespace in other branches
- 2.x src/Form/SinglePageSiteConfigForm.php \Drupal\single_page_site\Form\SinglePageSiteConfigForm::__construct()
- 2.0.x src/Form/SinglePageSiteConfigForm.php \Drupal\single_page_site\Form\SinglePageSiteConfigForm::__construct()
SinglePageSiteConfigForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler:
Overrides ConfigFormBase::__construct
File
- src/
Form/ SinglePageSiteConfigForm.php, line 24
Class
- SinglePageSiteConfigForm
- Class SinglePageSiteConfigForm @package Drupal\single_page_site\Form
Namespace
Drupal\single_page_site\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}