public function PackageInterface::addProducts in Ubercart 8.4
Adds products to this package.
Parameters
\Drupal\uc_order\OrderProductInterface[] $products: The products to add.
Return value
$this
1 method overrides PackageInterface::addProducts()
- Package::addProducts in shipping/
uc_fulfillment/ src/ Package.php - Adds products to this package.
File
- shipping/
uc_fulfillment/ src/ PackageInterface.php, line 270
Class
- PackageInterface
- Provides an interface that defines the Package class.
Namespace
Drupal\uc_fulfillmentCode
public function addProducts(array $products);