Reviews.php 676 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\Block\Adminhtml\Edit\Tab;
  7. /**
  8. * @api
  9. * @since 100.0.2
  10. */
  11. class Reviews extends \Magento\Review\Block\Adminhtml\Grid
  12. {
  13. /**
  14. * Hide grid mass action elements
  15. *
  16. * @return \Magento\Customer\Block\Adminhtml\Edit\Tab\Reviews
  17. */
  18. protected function _prepareMassaction()
  19. {
  20. return $this;
  21. }
  22. /**
  23. * Determine ajax url for grid refresh
  24. *
  25. * @return string
  26. */
  27. public function getGridUrl()
  28. {
  29. return $this->getUrl('customer/*/productReviews', ['_current' => true]);
  30. }
  31. }