Interface
UrlInterface
Magento\Backend\Model\UrlInterface
What it does
This interface defines URL generation and security methods specifically for Magento 2's admin backend.
Developers use it to generate secure admin URLs with secret keys for CSRF protection, configure the admin startup page, and determine the backend area's front name.
It extends the framework's base UrlInterface to add admin-specific functionality like secret key management and menu navigation.
Public Methods
- getSecretKey()
- useSecretKey()
- turnOnSecretKey()
- turnOffSecretKey()
- renewSecretUrls()
- getStartupPageUrl()
- setSession()
- getAreaFrontName()
- findFirstAvailableMenu()