public function PaymentFormConfigurationForm::__construct in Payment 8.2
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
\Drupal\Core\StringTranslation\TranslationInterface $string_translation:
\Drupal\payment\Plugin\Payment\Method\PaymentMethodManagerInterface $payment_method_manager:
\Drupal\plugin\PluginType\PluginTypeInterface $plugin_selector_type:
Overrides ConfigFormBase::__construct
File
- modules/
payment_form/ src/ Plugin/ Payment/ Type/ PaymentFormConfigurationForm.php, line 43
Class
- PaymentFormConfigurationForm
- Provides the configuration form for the payment_form payment type plugin.
Namespace
Drupal\payment_form\Plugin\Payment\TypeCode
public function __construct(ConfigFactoryInterface $config_factory, TranslationInterface $string_translation, PaymentMethodManagerInterface $payment_method_manager, PluginTypeInterface $plugin_selector_type) {
parent::__construct($config_factory);
$this->paymentMethodManager = $payment_method_manager;
$this->pluginSelectorType = $plugin_selector_type;
$this->stringTranslation = $string_translation;
}