Log in
Interface

ProductLinkManagementAddChildrenInterface

Magento\Bundle\Api\ProductLinkManagementAddChildrenInterface

What it does

This interface defines a contract for bulk adding child products to a bundle product option in Magento 2.

Developers would use implementations of this interface when they need to add multiple linked products to a specific bundle option at once, such as during product imports or programmatic bundle product creation.

It provides a more efficient way to add multiple children compared to adding them one by one.

Public Methods

  • addChildren()