You are here

public function ProductBundle::setBundleItems in Commerce Product Bundle 8

@inheritdoc

Overrides BundleInterface::setBundleItems

File

src/Entity/ProductBundle.php, line 216

Class

ProductBundle
Defines the product bundle entity.

Namespace

Drupal\commerce_product_bundle\Entity

Code

public function setBundleItems(array $bundle_items) {
  $this
    ->set('bundle_items', $bundle_items);
  return $this;
}