Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
switcher.phtml File Reference

Go to the source code of this file.

Variables

foreach($block->getWebsiteCollection() as $_website) foreach($block->getGroupCollection($_website) as $_group) foreach( $block->getStoreCollection( $_group) as $_store)($showWebsite==false) if($block->getRequest() ->getParam('website')==$_website->getId()) endif = $_website->getName()
 
if($block->getStoreId()==$_store->getId()) endforeach = $_store->getName()
 

Variable Documentation

◆ endforeach

endforeach = $_store->getName()

Definition at line 28 of file switcher.phtml.

◆ endif

if ( $showGroup==false) if ( $block->getRequest() ->getParam( 'group')==$_group->getId()) endif = $_website->getName()

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 21 of file switcher.phtml.