Log in
Model

Favicon

Magento\Theme\Model\Favicon\Favicon

What it does

This class manages the favicon (website icon) displayed in browser tabs and bookmarks.

Developers use it to retrieve either a custom favicon uploaded through Magento admin configuration or fall back to the default Magento favicon.

It handles both file system and database storage scenarios for the favicon file.

Public Methods

  • getFaviconFile()
  • getDefaultFavicon()