Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Index.php
Go to the documentation of this file.
1 <?php
8 
10 
12 {
19  public function execute()
20  {
21  if ($this->_scopeConfig->getValue('rss/config/active', \Magento\Store\Model\ScopeInterface::SCOPE_STORE)) {
22  $this->_view->loadLayout();
23  $this->_view->renderLayout();
24  } else {
25  throw new NotFoundException(__('Page not found.'));
26  }
27  }
28 }
__()
Definition: __.php:13