public function PackageInterface::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
1 method overrides PackageInterface::setProducts()
- Package::setProducts in shipping/
uc_fulfillment/ src/ Package.php - Sets all the products in this package.
File
- shipping/
uc_fulfillment/ src/ PackageInterface.php, line 280
Class
- PackageInterface
- Provides an interface that defines the Package class.
Namespace
Drupal\uc_fulfillmentCode
public function setProducts(array $products);