Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
info.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php
15 ?>
16 <?php
17 $name = $block->getNameInLayout();
18 foreach ($block->getChildNames($name) as $childName) {
19  echo $block->getChildBlock($childName)->setItem($block->getItem())->toHtml();
20 }
21 ?>
$block
Definition: block.php:8
$name
Definition: info.phtml:17