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

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)
 

Variable Documentation

◆ $attribute

$attribute
Initial value:
= Bootstrap::getObjectManager()->create(
\Magento\Catalog\Model\ResourceModel\Eav\Attribute::class
)

Definition at line 19 of file product_with_fpt.php.

◆ $attributeSetId

$attributeSetId = $installer->getAttributeSetId('catalog_product', 'Default')

Definition at line 14 of file product_with_fpt.php.

◆ $entityModel

$entityModel = Bootstrap::getObjectManager()->create(\Magento\Eav\Model\Entity::class)

Definition at line 15 of file product_with_fpt.php.

◆ $entityTypeId

$entityTypeId = $entityModel->setType(Product::ENTITY)->getTypeId()

Definition at line 16 of file product_with_fpt.php.

◆ $groupId

$groupId = $installer->getDefaultAttributeGroupId($entityTypeId, $attributeSetId)

Definition at line 17 of file product_with_fpt.php.

◆ $installer

$installer
Initial value:
= Bootstrap::getObjectManager()->create(
\Magento\Catalog\Setup\CategorySetup::class
)

Definition at line 11 of file product_with_fpt.php.

◆ $product

$product = Bootstrap::getObjectManager()->create(Product::class)

Definition at line 36 of file product_with_fpt.php.