Index.php 902 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\CurrencySymbol\Controller\Adminhtml\System\Currency;
  8. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  9. class Index extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Currency implements HttpGetActionInterface
  10. {
  11. /**
  12. * Currency management main page
  13. *
  14. * @return void
  15. */
  16. public function execute()
  17. {
  18. $this->_view->loadLayout();
  19. $this->_setActiveMenu('Magento_CurrencySymbol::system_currency_rates');
  20. $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Currency Rates'));
  21. $this->_addContent(
  22. $this->_view->getLayout()->createBlock(\Magento\CurrencySymbol\Block\Adminhtml\System\Currency::class)
  23. );
  24. $this->_view->renderLayout();
  25. }
  26. }