You are here

public function CurrencyLocaleListBuilder::__construct in Currency 8.3

Constructs a new instance.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage.

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

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

Overrides EntityListBuilder::__construct

File

src/Entity/CurrencyLocale/CurrencyLocaleListBuilder.php, line 30

Class

CurrencyLocaleListBuilder
Provides a list builder for currency locales.

Namespace

Drupal\currency\Entity\CurrencyLocale

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $entity_storage, TranslationInterface $string_translation, ModuleHandlerInterface $module_handler) {
  parent::__construct($entity_type, $entity_storage);
  $this->moduleHandler = $module_handler;
  $this->stringTranslation = $string_translation;
}