public function BuildZonesEvent::__construct in Commerce Core 8.2
Constructs a new BuildZonesEvent.
Parameters
\Drupal\commerce_tax\TaxZone[] $zones: The tax zones.
\Drupal\commerce_tax\Plugin\Commerce\TaxType\LocalTaxTypeInterface $plugin: The local tax type plugin.
File
- modules/
tax/ src/ Event/ BuildZonesEvent.php, line 37
Class
- BuildZonesEvent
- Defines the build zones event.
Namespace
Drupal\commerce_tax\EventCode
public function __construct(array $zones, LocalTaxTypeInterface $plugin) {
$this->zones = $zones;
$this->plugin = $plugin;
}