Agreement.php 689 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Paypal\Block\Adminhtml\Billing;
  7. /**
  8. * Adminhtml billing agreement grid container
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. class Agreement extends \Magento\Backend\Block\Widget\Grid\Container
  14. {
  15. /**
  16. * Initialize billing agreements grid container
  17. *
  18. * @return void
  19. */
  20. protected function _construct()
  21. {
  22. $this->_controller = 'adminhtml_billing_agreement';
  23. $this->_blockGroup = 'Magento_Paypal';
  24. $this->_headerText = __('Billing Agreements');
  25. parent::_construct();
  26. $this->buttonList->remove('add');
  27. }
  28. }