Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
empty_attribute_set_rollback.php
Go to the documentation of this file.
1 <?php
8 $attributeSet = $objectManager->create(\Magento\Eav\Model\Entity\Attribute\Set::class)
9  ->load('empty_attribute_set', 'attribute_set_name');
10 if ($attributeSet->getId()) {
11  $attributeSet->delete();
12 }