Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
attribute_set_with_image_attribute_rollback.php File Reference

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $entityType = $objectManager->create(\Magento\Eav\Model\Entity\Type::class)->loadByCode('catalog_product')
 
 $attributeCollection = $objectManager->create(\Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection::class)
 
 $attribute = $attributeCollection->fetchItem()
 
 $attributeSetCollection
 
 $attributeSet = $attributeSetCollection->fetchItem()
 

Variable Documentation

◆ $attribute

$attribute = $attributeCollection->fetchItem()

◆ $attributeCollection

$attributeCollection = $objectManager->create(\Magento\Catalog\Model\ResourceModel\Product\Attribute\Collection::class)

◆ $attributeSet

$attributeSet = $attributeSetCollection->fetchItem()

◆ $attributeSetCollection

$attributeSetCollection
Initial value:

Definition at line 27 of file attribute_set_with_image_attribute_rollback.php.

◆ $entityType

$entityType = $objectManager->create(\Magento\Eav\Model\Entity\Type::class)->loadByCode('catalog_product')

◆ $objectManager