public function TaxRate::setWeight in Ubercart 8.4
The tax rate weight.
Parameters
int $weight: The tax rate weight.
Return value
$this
Overrides TaxRateInterface::setWeight
File
- uc_tax/
src/ Entity/ TaxRate.php, line 222
Class
- TaxRate
- Defines a tax rate configuration entity.
Namespace
Drupal\uc_tax\EntityCode
public function setWeight($weight) {
$this->weight = $weight;
return $this;
}