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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $entityType
 
 $data = $entityType->getData()
 
 $data ['entity_type_code'] = 'test'
 
 $testEntityType
 
 $entityTypeId = $testEntityType->getId()
 
 $attributeSet = $objectManager->create(\Magento\Eav\Model\Entity\Attribute\Set::class)
 
 $attributeGroup = $objectManager->create(\Magento\Eav\Model\Entity\Attribute\Group::class)
 
 $attributeData
 

Variable Documentation

◆ $attributeData

$attributeData

Definition at line 43 of file attribute_for_search.php.

◆ $attributeGroup

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

Definition at line 32 of file attribute_for_search.php.

◆ $attributeSet

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

Definition at line 22 of file attribute_for_search.php.

◆ $data [1/2]

$data = $entityType->getData()

Definition at line 12 of file attribute_for_search.php.

◆ $data [2/2]

$data[ 'entity_type_code'] = 'test'

Definition at line 13 of file attribute_for_search.php.

◆ $entityType

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

Definition at line 10 of file attribute_for_search.php.

◆ $entityTypeId

$entityTypeId = $testEntityType->getId()

Definition at line 19 of file attribute_for_search.php.

◆ $objectManager

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

Definition at line 7 of file attribute_for_search.php.

◆ $testEntityType

$testEntityType
Initial value:
= $objectManager->create(\Magento\Eav\Model\Entity\Type::class)
->setData($data)
->save()

Definition at line 16 of file attribute_for_search.php.