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 prevents modification of existing custom layout update values, allowing only removal, which is a security measure to protect against malicious layout updates.

Developers interact with this class indirectly when working with custom layout updates on catalog entities.

Public Methods

  • validate()
  • beforeSave()