Model
Shareable
Magento\Downloadable\Model\Source\Shareable
What it does
This class provides shareable configuration options for downloadable product links in Magento 2.
Developers use this source model to populate dropdown fields in the admin panel where merchants can choose whether downloadable links can be shared (Yes/No/Use config).
It's typically used in product edit forms and system configuration for downloadable products.
Public Methods
- toOptionArray()