Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$installer | |
$attributeSetId = $installer->getAttributeSetId('catalog_product', 'Default') | |
$entityModel = Bootstrap::getObjectManager()->create(\Magento\Eav\Model\Entity::class) | |
$entityTypeId = $entityModel->setType(Product::ENTITY)->getTypeId() | |
$groupId = $installer->getDefaultAttributeGroupId($entityTypeId, $attributeSetId) | |
$attribute | |
$product = Bootstrap::getObjectManager()->create(Product::class) | |
$attribute |
Definition at line 19 of file product_with_fpt.php.
$attributeSetId = $installer->getAttributeSetId('catalog_product', 'Default') |
Definition at line 14 of file product_with_fpt.php.
$entityModel = Bootstrap::getObjectManager()->create(\Magento\Eav\Model\Entity::class) |
Definition at line 15 of file product_with_fpt.php.
$entityTypeId = $entityModel->setType(Product::ENTITY)->getTypeId() |
Definition at line 16 of file product_with_fpt.php.
$groupId = $installer->getDefaultAttributeGroupId($entityTypeId, $attributeSetId) |
Definition at line 17 of file product_with_fpt.php.
$installer |
Definition at line 11 of file product_with_fpt.php.
$product = Bootstrap::getObjectManager()->create(Product::class) |
Definition at line 36 of file product_with_fpt.php.