Log in
Model

TargetUrlBuilder

Magento\Cms\Model\Page\TargetUrlBuilder

What it does

This class builds target URLs for CMS pages with proper store context.

Developers use it when they need to generate frontend URLs for CMS pages that include the correct store code parameter, ensuring the URL points to the right store view without session IDs or current URL parameters.

Public Methods

  • process()