Grid.php 636 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Paypal\Controller\Adminhtml\Billing\Agreement;
  8. class Grid extends \Magento\Paypal\Controller\Adminhtml\Billing\Agreement
  9. {
  10. /**
  11. * Authorization level of a basic admin session
  12. *
  13. * @see _isAllowed()
  14. */
  15. const ADMIN_RESOURCE = 'Magento_Paypal::billing_agreement_actions_view';
  16. /**
  17. * Ajax action for billing agreements
  18. *
  19. * @return void
  20. */
  21. public function execute()
  22. {
  23. $this->_view->loadLayout(false);
  24. $this->_view->renderLayout();
  25. }
  26. }