Log in
Interface

CustomLayoutManagerInterface

Magento\Cms\Model\Page\CustomLayoutManagerInterface

What it does

This interface defines contracts 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 selected custom layout updates to the page view.

It enables dynamic layout customization per CMS page without modifying core layout files.

Public Methods

  • fetchAvailableFiles()
  • applyUpdate()