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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $attributeSet = $objectManager->create(\Magento\Eav\Model\Entity\Attribute\Set::class)
 
 $entityTypeId = $objectManager->create(\Magento\Eav\Model\Entity\Type::class)->loadByCode('catalog_product')->getId()
 

Variable Documentation

◆ $attributeSet

$attributeSet = $objectManager->create(\Magento\Eav\Model\Entity\Attribute\Set::class)

Definition at line 8 of file empty_attribute_set.php.

◆ $entityTypeId

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

Definition at line 9 of file empty_attribute_set.php.

◆ $objectManager

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 6 of file empty_attribute_set.php.