public function SettingsForm::__construct in Opigno dashboard 8
Same name and namespace in other branches
- 3.x src/Form/SettingsForm.php \Drupal\opigno_dashboard\Form\SettingsForm::__construct()
Constructs a \Drupal\opigno_dashboard\Form\SettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\opigno_dashboard\BlockServiceInterface $block_service: The block service object.
\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SettingsForm.php, line 41
Class
- SettingsForm
- Class SettingsForm.
Namespace
Drupal\opigno_dashboard\FormCode
public function __construct(ConfigFactoryInterface $config_factory, BlockServiceInterface $block_service, ThemeHandlerInterface $theme_handler) {
parent::__construct($config_factory);
$this->blockService = $block_service;
$this->themeHandler = $theme_handler;
}