53 public function getSuggestedSets($labelPart)
55 $labelPart = $this->resourceHelper->addLikeEscape($labelPart, [
'position' =>
'any']);
57 $collection = $this->attributeSetCollectionFactory->create();
59 $this->product->getTypeId()
62 [
'like' => $labelPart]
$attributeSetCollectionFactory
__construct(\Magento\Catalog\Model\ResourceModel\Product $product, \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $attributeSetCollectionFactory, \Magento\Catalog\Model\ResourceModel\Helper $resourceHelper)