Log in
Model

GetLogoFile

Magento\Sales\Model\Order\Invoice\GetLogoFile

What it does

This class retrieves the custom logo file URL configured for invoice HTML printing.

Developers would use this when generating invoice PDFs or HTML views to display a store's custom logo instead of the default Magento logo.

It checks the admin configuration and constructs the full media URL path to the logo file.

Public Methods

  • execute()