Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
options.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()))
 
 $storetotal = count($stores) + 3
 
if(! $block->getReadOnly() &&! $block->canManageOptionDefaultOnly())(__( 'Add Option')) ?>" type endif
 
 $values = []
 

Variable Documentation

◆ $stores

$stores = $block->getStoresSortedBySortOrder()

Definition at line 11 of file options.phtml.

◆ $storetotal

$storetotal = count($stores) + 3

Definition at line 31 of file options.phtml.

◆ $values

$values = []

Definition at line 88 of file options.phtml.

◆ endforeach

if ( $block->getReadOnly()||$block->canManageOptionDefaultOnly()) endforeach = $block->escapeHtml(__($_store->getName()))

Definition at line 28 of file options.phtml.

◆ endif

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

Definition at line 46 of file options.phtml.