Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function setLayout(\Magento\Framework\View\LayoutInterface $layout)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setLayout');
     if (!$pluginInfo) {
         return parent::setLayout($layout);
     } else {
         return $this->___callPlugins('setLayout', func_get_args(), $pluginInfo);
     }
 }