Log in
Model

AbstractLayoutUpdate

Magento\Catalog\Model\Attribute\Backend\AbstractLayoutUpdate

What it does

This abstract backend model manages custom layout file selection for catalog entities (products/categories).

Developers extend this class to validate and prepare custom layout update values before saving, ensuring only available layout handles can be assigned.

It handles special values like '__existing__' for using XML updates and '__no_update__' for removing custom layouts.

Public Methods

  • validate()
  • beforeSave()