Log in
Model

Favicon

Magento\Theme\Model\Design\Backend\Favicon

What it does

This class handles the backend configuration and upload processing for website favicon files in Magento 2.

Developers use this class when implementing admin panel settings for store favicon customization, as it defines allowed file extensions (ico, png, gif, jpg, jpeg, apng) and manages the upload directory structure with proper scope handling for multi-store environments.

Public Methods

  • getAllowedExtensions()