Model
Type
Magento\Backup\Model\Config\Source\Type
What it does
This class provides a source model for backup type options in Magento's system configuration.
Developers use this class to populate dropdown menus in the admin panel with available backup types (like database, system, or media backups).
It retrieves backup types from the Backup helper and formats them as option arrays for configuration fields.
Public Methods
- toOptionArray()