Showing results for 
Search instead for 
Did you mean: 

[Magento_Theme] Add page_layout from module

0 Kudos

[Magento_Theme] Add page_layout from module

Feature request from kassner, posted on GitHub Aug 17, 2016


Looks like there is no way to add a new page layout from a module. The only place that loads layouts.xml files is here, but the method specifically iterate over registered themes and is protected, so is not possible to intercept using a plugin.

I'm not sure if we can just make it public. Is there another approach to fix this?