You are here

public function MollieProfileForm::__construct in Mollie Payment 8.2

Constructs a new instance.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translator.

\Drupal\Core\Entity\EntityStorageInterface $mollie_profile_storage: The Mollie profile storage.

\Drupal\plugin\Plugin\Plugin\PluginSelector\PluginSelectorManagerInterface $plugin_selector_manager: The plugin selector manager.

\Drupal\plugin\PluginType\PluginTypeManager $plugin_type_manager: The plugin type manager.

File

src/Entity/MollieProfile/MollieProfileForm.php, line 52

Class

MollieProfileForm
Provides the Mollie profile add/edit form.

Namespace

Drupal\mollie_payment\Entity\MollieProfile

Code

public function __construct(TranslationInterface $string_translation, EntityStorageInterface $mollie_profile_storage, PluginSelectorManagerInterface $plugin_selector_manager, PluginTypeManager $plugin_type_manager) {
  $this->mollieProfileStorage = $mollie_profile_storage;
  $this->pluginSelectorManager = $plugin_selector_manager;
  $this->pluginTypeManager = $plugin_type_manager;
  $this->stringTranslation = $string_translation;
}