public function QueueMailSettingsForm::__construct in Queue Mail 8
Constructs a new QueueMailSettingsForm.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler service.
Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination.
Overrides ConfigFormBase::__construct
File
- src/
Form/ QueueMailSettingsForm.php, line 42
Class
- QueueMailSettingsForm
- Configures module's settings.
Namespace
Drupal\queue_mail\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, RedirectDestinationInterface $redirect_destination) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
$this->redirectDestination = $redirect_destination;
}