Accounts.php 774 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Reports\Block\Adminhtml\Customer;
  7. /**
  8. * Backend new accounts report page content block
  9. *
  10. * @api
  11. * @author Magento Core Team <core@magentocommerce.com>
  12. * @since 100.0.2
  13. */
  14. class Accounts extends \Magento\Backend\Block\Widget\Grid\Container
  15. {
  16. /**
  17. * @var string
  18. */
  19. protected $_blockGroup = 'Magento_Reports';
  20. /**
  21. * @return void
  22. */
  23. protected function _construct()
  24. {
  25. $this->_blockGroup = 'Magento_Reports';
  26. $this->_controller = 'adminhtml_customer_accounts';
  27. $this->_headerText = __('New Accounts');
  28. parent::_construct();
  29. $this->buttonList->remove('add');
  30. }
  31. }