Container.php 616 B

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