Log in
Model

CompositeUrlKey

Magento\Backend\Model\Validator\UrlKey\CompositeUrlKey

What it does

This class validates URL keys by running them through multiple validators to ensure they don't conflict with Magento admin frontNames or restricted endpoint names.

Developers use this when validating custom URL keys for categories, products, or CMS pages to prevent routing conflicts with backend URLs.

Public Methods

  • validate()