Log in
Model

Logo

Magento\Theme\Model\Design\Backend\Logo

What it does

This class handles the upload and management of logo images in Magento 2's theme configuration.

Developers use this when working with store logo uploads in the admin panel (Content > Design > Configuration), where it validates file types and manages storage in the media directory.

It restricts uploads to common image formats (JPG, JPEG, GIF, PNG) and automatically organizes files in the logo directory with scope information.

Public Methods

  • getAllowedExtensions()