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

Go to the source code of this file.

Variables

 $stores = $block->getStoresSortedBySortOrder()
 
foreach( $stores as $_store)($_store->getId()==\Magento\Store\Model\Store::DEFAULT_STORE_IDendforeach = $block->escapeHtml($_store->getName())
 
 $colTotal = count($stores) * 2 + 3
 
if(! $block->getReadOnly() &&! $block->canManageOptionDefaultOnly())(__( 'Add Swatch')) ?>" type endif
 

Variable Documentation

◆ $colTotal

$colTotal = count($stores) * 2 + 3

Definition at line 30 of file text.phtml.

◆ $stores

$stores = $block->getStoresSortedBySortOrder()

Definition at line 11 of file text.phtml.

◆ endforeach

if ( $storeId==\Magento\Store\Model\Store::DEFAULT_STORE_ID) if ( $storeId==\Magento\Store\Model\Store::DEFAULT_STORE_ID) if ( $block->getReadOnly()||$block->canManageOptionDefaultOnly()) endforeach = $block->escapeHtml($_store->getName())

Definition at line 27 of file text.phtml.

◆ endif

if (!$block->getReadOnly() && !$block->canManageOptionDefaultOnly()) (__('Delete')) ?>" type endif
Initial value:
="button" class="action- scalable add">
<span><?= $block->escapeHtml(__('Add Swatch'))
__()
Definition: __.php:13
$block
Definition: block.php:8

Definition at line 44 of file text.phtml.