Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
NewWebsite.php
Go to the documentation of this file.
1 <?php
8 
9 class NewWebsite extends \Magento\Backend\Controller\Adminhtml\System\Store
10 {
14  public function execute()
15  {
16  $this->_coreRegistry->register('store_type', 'website');
18  $resultForward = $this->resultForwardFactory->create();
19  return $resultForward->forward('newStore');
20  }
21 }