Group.php 874 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /**
  7. * Adminhtml customers group page content block
  8. *
  9. * @author Magento Core Team <core@magentocommerce.com>
  10. */
  11. namespace Magento\Customer\Block\Adminhtml;
  12. /**
  13. * @api
  14. * @since 100.0.2
  15. */
  16. class Group extends \Magento\Backend\Block\Widget\Grid\Container
  17. {
  18. /**
  19. * Modify header & button labels
  20. *
  21. * @return void
  22. */
  23. protected function _construct()
  24. {
  25. $this->_controller = 'customer_group';
  26. $this->_headerText = __('Customer Groups');
  27. $this->_addButtonLabel = __('Add New Customer Group');
  28. parent::_construct();
  29. }
  30. /**
  31. * Redefine header css class
  32. *
  33. * @return string
  34. */
  35. public function getHeaderCssClass()
  36. {
  37. return 'icon-head head-customer-groups';
  38. }
  39. }