public function ConfigSettingsForm::__construct in Drupal Commerce Connector for AvaTax 8
Constructs a ConfigSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation.
Overrides ConfigFormBase::__construct
File
- src/
Form/ ConfigSettingsForm.php, line 45
Class
- ConfigSettingsForm
- Configuration form for AvaTax settings.
Namespace
Drupal\commerce_avatax\FormCode
public function __construct(ConfigFactoryInterface $config_factory, MessengerInterface $messenger, ModuleHandlerInterface $module_handler, TranslationInterface $string_translation) {
parent::__construct($config_factory);
$this->messenger = $messenger;
$this->moduleHandler = $module_handler;
$this->stringTranslation = $string_translation;
}