Log in
Model

Attr

Magento\PageBuilder\Model\Dom\Attr

What it does

This class serves as a wrapper for PhpGt DOM library's Attr class, providing a standardized interface for working with HTML element attributes in Page Builder.

Developers would use this when they need to manipulate or remove attributes from DOM elements while rendering or processing Page Builder content, ensuring compatibility with Magento's dependency injection system.

Public Methods

  • remove()