Log in
Model

AbstractLayoutUpdate

Magento\Catalog\Model\Attribute\Source\AbstractLayoutUpdate

What it does

This abstract class provides layout update options for catalog entities (products, categories) in Magento 2.

Developers extend this class to create custom attribute sources that allow merchants to select predefined XML layout updates for individual catalog items through the admin panel, enabling per-entity page layout customization without manual XML editing.

Public Methods

  • getAllOptions()
  • getOptionText()
  • getOptionsFor()