Model
Search
Magento\Catalog\Model\ProductLink\Search
What it does
This class provides product search functionality for linking products in the catalog.
Developers use it to retrieve a filtered collection of products based on a search term, with pagination support.
It's typically used in admin interfaces where users need to search and select products to create relationships like related products, upsells, or cross-sells.
Public Methods
- prepareCollection()