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

Go to the source code of this file.

Variables

 $welcomeMessage = $block->getWelcome()
 
switch( $block->getShowPart())().fullname - ->< span data-bind="text: new String('<?= $block->escapeHtml(__('Welcome, %1!', '%1')) ?>').replace('%1', customer().fullname)"></span ><!--/ko --><!-- ko ifnot:customer().fullname -->< span data-bind='html:"<?= $block->escapeHtml($welcomeMessage) ?>"'></span ><?=$block->getBlockHtml('header.additional') ?><!--/ko --></li >< script type="text/x-magento-init"> break
 
case __pad0__
 
 endswitch
 

Variable Documentation

◆ $welcomeMessage

$welcomeMessage = $block->getWelcome()

Definition at line 12 of file header.phtml.

◆ __pad0__

case __pad0__

Definition at line 43 of file header.phtml.

◆ break

switch ($block->getShowPart()) ().fullname - ->< span data-bind="text: new String('<?= $block->escapeHtml(__('Welcome, %1!', '%1')) ?>').replace('%1', customer().fullname)"></span ><!--/ko --><!-- ko ifnot:customer().fullname -->< span data-bind='html:"<?= $block->escapeHtml($welcomeMessage) ?>"'></span ><?=$block->getBlockHtml( 'header.additional') ?><!--/ko --></li >< script type="text/x-magento-init"> break

Definition at line 14 of file header.phtml.

◆ endswitch

endswitch

Definition at line 45 of file header.phtml.