Log in
Model

UrlBuilder

Magento\Catalog\Model\Product\Option\UrlBuilder

What it does

This class is a URL builder specifically for product options in the Magento Catalog module.

Developers use it to generate frontend URLs related to product options, such as links for custom option configuration pages or AJAX endpoints.

It acts as a wrapper around Magento's core URL builder, providing a dedicated service for product option-related URL generation.

Public Methods

  • getUrl()