Shipment.php 651 B

12345678910111213141516171819202122232425262728
  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 shipments block
  9. *
  10. * @author Magento Core Team <core@magentocommerce.com>
  11. */
  12. class Shipment extends \Magento\Backend\Block\Widget\Grid\Container
  13. {
  14. /**
  15. * Constructor
  16. *
  17. * @return void
  18. */
  19. protected function _construct()
  20. {
  21. $this->_controller = 'adminhtml_shipment';
  22. $this->_blockGroup = 'Magento_Sales';
  23. $this->_headerText = __('Shipments');
  24. parent::_construct();
  25. $this->buttonList->remove('add');
  26. }
  27. }