StackFlow
Yii2 - render view in another view
view_1.php
<?= echo $this->render('view_2', ['hello' => 'hello world']) ?>
view_2.php
<?= echo $hello; ?>
Please enable JavaScript to view the
comments powered by Disqus.