Log in
Model

LayoutUpdateManager

Magento\Catalog\Model\Category\Attribute\LayoutUpdateManager

What it does

This class manages custom layout updates for category pages in Magento 2.

Developers use it to fetch available layout update files for a specific category and apply custom layout handles based on the category's 'custom_layout_update_file' attribute.

It enables categories to have unique page layouts by selecting from predefined layout XML files.

Public Methods

  • fetchAvailableFiles()
  • extractCustomSettings()