Interface
DomainManagerInterface
Magento\Downloadable\Api\DomainManagerInterface
What it does
This interface defines methods for managing a whitelist of domains that are allowed to host downloadable product files in Magento 2.
Developers use this to programmatically retrieve, add, or remove domains from the whitelist, ensuring that downloadable products can only link to approved external hosts for security purposes.
Public Methods
- getDomains()
- addDomains()
- removeDomains()