Log in
Model

FrontName

Magento\Backend\Model\Validator\UrlKey\FrontName

What it does

This validator ensures that URL keys (like those used for CMS pages or categories) don't conflict with the Magento admin backend URL.

When a developer creates or updates URL keys through the admin interface, this validator prevents them from using the same path as the admin area frontname (typically 'admin'), which would cause routing conflicts.

Public Methods

  • validate()