public function Package::setProducts in Ubercart 8.4
Sets all the products in this package.
Parameters
\Drupal\uc_order\OrderProductInterface[] $products: The package's products.
Return value
$this
Overrides PackageInterface::setProducts
File
- shipping/
uc_fulfillment/ src/ Package.php, line 381
Class
- Package
- Defines the Package class.
Namespace
Drupal\uc_fulfillmentCode
public function setProducts(array $products) {
$this->products = $products;
return $this;
}