RoleGrid.php 671 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\User\Controller\Adminhtml\User\Role;
  8. use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
  9. use Magento\Framework\App\Action\HttpPostActionInterface;
  10. use Magento\User\Controller\Adminhtml\User\Role as RoleAction;
  11. class RoleGrid extends RoleAction implements HttpGetActionInterface, HttpPostActionInterface
  12. {
  13. /**
  14. * Action for ajax request from grid
  15. *
  16. * @return void
  17. */
  18. public function execute()
  19. {
  20. $this->_view->loadLayout(false);
  21. $this->_view->renderLayout();
  22. }
  23. }