Log in
Helper

Output

Magento\Catalog\Helper\Output

What it does

This helper class processes and sanitizes catalog attribute output (product and category attributes) for safe display in the frontend.

It handles HTML escaping, WYSIWYG content, template directive processing, and allows custom handlers to modify attribute values before rendering.

Developers use this when displaying product or category attributes to ensure content is properly formatted and secure.

Public Methods

  • addHandler()
  • getHandlers()
  • process()
  • productAttribute()
  • categoryAttribute()
  • isDirectivesExists()