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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $entityTypeId
 
 $attributeSetData
 

Variable Documentation

◆ $attributeSetData

$attributeSetData
Initial value:
= [
[
'attribute_set_name' => 'attribute_set_1_for_search',
'entity_type_id' => $entityTypeId,
'sort_order' => 100,
],
[
'attribute_set_name' => 'attribute_set_2_for_search',
'entity_type_id' => $entityTypeId,
'sort_order' => 200,
],
[
'attribute_set_name' => 'attribute_set_3_for_search',
'entity_type_id' => $entityTypeId,
'sort_order' => 300,
],
[
'attribute_set_name' => 'attribute_set_4_for_search',
'entity_type_id' => $entityTypeId,
'sort_order' => 400,
],
]

Definition at line 12 of file attribute_set_for_search.php.

◆ $entityTypeId

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

Definition at line 8 of file attribute_set_for_search.php.

◆ $objectManager

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

Definition at line 6 of file attribute_set_for_search.php.