Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
inventory.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
11 $sourceCode = $block->getSourceCode();
12 ?>
13 
14 <?php if ($sourceCode): ?>
15 <section class="admin__page-section inventory">
16  <div class="admin__page-section-title">
17  <span class="title"><?= $block->escapeHtml(__('Inventory')) ?></span>
18  </div>
19  <div class="admin__page-section-content">
20  <?= $block->escapeHtml(__('Source:')) ?>
21  <?= $block->escapeHtml($block->getSourceName($sourceCode)) ?>
22  </div>
23 </section>
24 <input name="sourceCode" type="hidden" value="<?= /* @escapeNotVerified */ $sourceCode ?>">
25 <?php endif; ?>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
__()
Definition: __.php:13
$block
Definition: block.php:8
$sourceCode
Definition: inventory.phtml:11
endif
Definition: inventory.phtml:15