Recently I saw Setup/Patch/Data with 'type' => 'static'
$eavSetup->addAttribute(
\Magento\Catalog\Model\Product::ENTITY,
'attribute_code',
[
'group' => 'General',
'label' => 'Product Type ID',
'type' => 'static',
'input' => 'select',
'source' => \Vendor\Module\Model\Source\Source::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))