Transactions.php 690 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Block\Adminhtml;
  7. /**
  8. * Adminhtml sales transactions block
  9. *
  10. * @api
  11. * @author Magento Core Team <core@magentocommerce.com>
  12. * @since 100.0.2
  13. */
  14. class Transactions extends \Magento\Backend\Block\Widget\Grid\Container
  15. {
  16. /**
  17. * Constructor
  18. *
  19. * @return void
  20. */
  21. protected function _construct()
  22. {
  23. $this->_controller = 'adminhtml_transactions';
  24. $this->_blockGroup = 'Magento_Sales';
  25. $this->_headerText = __('Transactions');
  26. parent::_construct();
  27. $this->buttonList->remove('add');
  28. }
  29. }