Log in
Interface

CustomLayoutManagerInterface

Magento\Cms\Model\Page\CustomLayoutManagerInterface

What it does

This interface defines methods for managing custom layout XML files for CMS pages in Magento 2.

Developers use it to retrieve available custom layout files for a specific page and apply those layout updates to the page view.

It's particularly useful when you need to customize the layout of individual CMS pages beyond the standard layout options.

Public Methods

  • fetchAvailableFiles()
  • applyUpdate()