Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
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) | |
$entityType = $objectManager->create(\Magento\Eav\Model\Entity\Type::class)->loadByCode('catalog_product') | |
$defaultSetId = $objectManager->create(\Magento\Catalog\Model\Product::class)->getDefaultAttributeSetid() | |
$attributeGroupId = $attributeSet->getDefaultGroupId($entityType->getDefaultAttributeSetId()) | |
$attributeData | |
$attribute = $objectManager->create(\Magento\Eav\Model\Entity\Attribute::class) | |
$attribute = $objectManager->create(\Magento\Eav\Model\Entity\Attribute::class) |
Definition at line 31 of file fixed_product_attribute.php.
$attributeData |
Definition at line 19 of file fixed_product_attribute.php.
$attributeGroupId = $attributeSet->getDefaultGroupId($entityType->getDefaultAttributeSetId()) |
Definition at line 17 of file fixed_product_attribute.php.
$attributeSet = $objectManager->create(\Magento\Eav\Model\Entity\Attribute\Set::class) |
Definition at line 12 of file fixed_product_attribute.php.
$defaultSetId = $objectManager->create(\Magento\Catalog\Model\Product::class)->getDefaultAttributeSetid() |
Definition at line 15 of file fixed_product_attribute.php.
$entityType = $objectManager->create(\Magento\Eav\Model\Entity\Type::class)->loadByCode('catalog_product') |
Definition at line 14 of file fixed_product_attribute.php.
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() |
Definition at line 9 of file fixed_product_attribute.php.