Recently I saw Setup/Patch/Data with 'type' => 'static'
$eavSetup->addAttribute(
MagentoCatalogModelProduct::ENTITY,
'attribute_code',
[
'group' => 'General',
'label' => 'Product Type ID',
'type' => 'static',
'input' => 'select',
'source' => VendorModuleModelSourceSource::class,
'required' => false,
'sort_order' => 1,
'global' => Attribute::SCOPE_GLOBAL,
'used_in_product_listing' => false,
'visible_on_front' => false,
]
);
How does this static type work and when should I use it?
Thank’s for any information))