Log in
Model

CustomLayoutManager

Magento\Cms\Model\Page\CustomLayout\CustomLayoutManager

What it does

This class manages custom layout files for CMS pages in Magento 2.

Developers use it to discover available custom layout XML files for a specific page and apply the selected custom layout to the page rendering.

It handles the conversion of page identifiers into layout handles and integrates custom layouts into the page's layout structure.

Public Methods

  • fetchAvailableFiles()
  • applyUpdate()