You are here

public function TaxRateListBuilder::__construct in Ubercart 8.4

Constructs a new TaxRateListBuilder object.

Parameters

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

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

\Drupal\uc_tax\Plugin\TaxRatePluginManager $tax_rate_plugin_manager: The tax rate plugin manager.

Overrides DraggableListBuilder::__construct

File

uc_tax/src/TaxRateListBuilder.php, line 36

Class

TaxRateListBuilder
Provides a listing of tax rate entities.

Namespace

Drupal\uc_tax

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, TaxRatePluginManager $tax_rate_plugin_manager) {
  parent::__construct($entity_type, $storage);
  $this->taxRatePluginManager = $tax_rate_plugin_manager;
}