Log in
Model

AdminPathConfig

Magento\Backend\Model\AdminPathConfig

What it does

This class provides path and URL configuration specifically for the Magento admin area.

Developers use it to determine if admin URLs should use HTTPS, get the current secure admin URL, and retrieve the default admin path.

It's primarily used by the router and URL generation components to ensure proper admin area security and routing.

Public Methods

  • getCurrentSecureUrl()
  • shouldBeSecure()
  • getDefaultPath()