Block.php 570 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Cms\Block\Adminhtml;
  7. /**
  8. * Adminhtml cms blocks content block
  9. */
  10. class Block extends \Magento\Backend\Block\Widget\Grid\Container
  11. {
  12. /**
  13. * @return void
  14. */
  15. protected function _construct()
  16. {
  17. $this->_blockGroup = 'Magento_Cms';
  18. $this->_controller = 'adminhtml_block';
  19. $this->_headerText = __('Static Blocks');
  20. $this->_addButtonLabel = __('Add New Block');
  21. parent::_construct();
  22. }
  23. }