You are here

public function PaymentMethodListBuilder::__construct in Ubercart 8.4

Constructs a new PaymentMethodListBuilder object.

Parameters

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

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

\Drupal\uc_payment\Plugin\PaymentMethodManager $payment_method_manager: The payment method plugin manager.

Overrides DraggableListBuilder::__construct

File

payment/uc_payment/src/PaymentMethodListBuilder.php, line 36

Class

PaymentMethodListBuilder
Defines a class to build a listing of payment method configuration entities.

Namespace

Drupal\uc_payment

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, PaymentMethodManager $payment_method_manager) {
  parent::__construct($entity_type, $storage);
  $this->paymentMethodManager = $payment_method_manager;
}