public function CurrencyLocaleForm::__construct in Currency 8.3
Constructs a new instance.
Parameters
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translator.
\Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The link generator.
\Drupal\Core\Entity\EntityStorageInterface $currency_locale_storage: The currency storage.
\Drupal\Core\Locale\CountryManagerInterface $country_manager: The country manager.
File
- src/
Entity/ CurrencyLocale/ CurrencyLocaleForm.php, line 53
Class
- CurrencyLocaleForm
- Provides a currency_locale add/edit form.
Namespace
Drupal\currency\Entity\CurrencyLocaleCode
public function __construct(TranslationInterface $string_translation, LinkGeneratorInterface $link_generator, EntityStorageInterface $currency_locale_storage, CountryManagerInterface $country_manager) {
$this->countryManager = $country_manager;
$this->currencyLocaleStorage = $currency_locale_storage;
$this->linkGenerator = $link_generator;
$this->stringTranslation = $string_translation;
}