Inbox.php 604 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Adminhtml AdminNotification inbox grid
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\AdminNotification\Block;
  9. /**
  10. * @api
  11. * @since 100.0.2
  12. */
  13. class Inbox extends \Magento\Backend\Block\Widget\Grid\Container
  14. {
  15. /**
  16. * @return void
  17. */
  18. protected function _construct()
  19. {
  20. $this->_controller = 'adminhtml';
  21. $this->_blockGroup = 'Magento_AdminNotification';
  22. $this->_headerText = __('Messages Inbox');
  23. parent::_construct();
  24. $this->buttonList->remove('add');
  25. }
  26. }