Post.php 682 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © 2015 Ihor Vansach (ihor@magefan.com). All rights reserved.
  4. * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php).
  5. *
  6. * Glory to Ukraine! Glory to the heroes!
  7. */
  8. namespace Magefan\Blog\Block\Adminhtml;
  9. /**
  10. * Admin blog post
  11. */
  12. class Post extends \Magento\Backend\Block\Widget\Grid\Container
  13. {
  14. /**
  15. * Constructor
  16. *
  17. * @return void
  18. */
  19. protected function _construct()
  20. {
  21. $this->_controller = 'adminhtml_post';
  22. $this->_blockGroup = 'Magefan_Blog';
  23. $this->_headerText = __('Post');
  24. $this->_addButtonLabel = __('Add New Post');
  25. parent::_construct();
  26. }
  27. }