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 define available custom layout updates that can be applied to specific catalog entities through the admin interface.

It manages the dropdown options shown in the admin panel for selecting layout updates, including default options like 'No update' and 'Use existing'.

Public Methods

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