public function BuildZonesEvent::setZones in Commerce Core 8.2
Sets the tax zones.
Parameters
\Drupal\commerce_tax\TaxZone[] $zones: The tax zones.
Return value
$this
File
- modules/
tax/ src/ Event/ BuildZonesEvent.php, line 60
Class
- BuildZonesEvent
- Defines the build zones event.
Namespace
Drupal\commerce_tax\EventCode
public function setZones(array $zones) {
$this->zones = $zones;
return $this;
}