2015-02-22

Changing page layout in magento 2.0

You can change page layout by adding:
$layout = '2columns-left';
$this->pageConfig->setPageLayout($layout);
to your block's constructor.

No comments:

Post a Comment