Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
fixed_product_attribute_rollback.php
Go to the documentation of this file.
1 <?php
7 declare(strict_types=1);
8 
10 
11 /* @var EavAttribute $attribute */
12 $attribute = $objectManager->get(\Magento\Eav\Model\Entity\Attribute::class);
13 $attribute->loadByCode(\Magento\Catalog\Model\Product::ENTITY, 'fixed_product_attribute');
14 $attribute->delete();