Log in
Model

Customlayoutupdate

Magento\Catalog\Model\Attribute\Backend\Customlayoutupdate

What it does

This backend model validates and manages the custom layout update attribute for catalog entities (products and categories).

It enforces a security rule that custom layout update XML values can only be removed, not modified, preventing potential XSS vulnerabilities.

Developers interact with this class indirectly when saving entities with custom layout updates through the admin panel or API.

Public Methods

  • validate()
  • beforeSave()