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

Go to the source code of this file.

Variables

if( $websites=$block->getWebsites())(__( 'Choose Store View:')) ?></label >< div class $showWebsite = false
 
foreach($website->getGroups() as $group) foreach( $block->getStores( $group) as $store)($showWebsite==falseendif = $block->escapeHtmlAttr($website->getName())
 
if($block->getStoreId()==$store->getId()) endforeach = $block->escapeHtml($store->getName())
 

Variable Documentation

◆ $showWebsite

if ($websites = $block->getWebsites()) (__('Choose Store View:')) ?></label> <div class $showWebsite = false

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

Definition at line 20 of file store.phtml.

◆ endforeach

endforeach = $block->escapeHtml($store->getName())

Definition at line 32 of file store.phtml.

◆ endif

endif = $block->escapeHtmlAttr($website->getName())

Definition at line 26 of file store.phtml.