You are here

public function PaymentOptionsBuilder::__construct in Commerce Core 8.2

Constructs a new PaymentOptionsBuilder object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

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

File

modules/payment/src/PaymentOptionsBuilder.php, line 31

Class

PaymentOptionsBuilder

Namespace

Drupal\commerce_payment

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation) {
  $this->entityTypeManager = $entity_type_manager;
  $this->stringTranslation = $string_translation;
}