Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Theme.php
Go to the documentation of this file.
1 <?php
7 
14 class Theme extends \Magento\Backend\Block\Widget\Grid\Container
15 {
21  public function _construct()
22  {
23  parent::_construct();
24  $this->_blockGroup = 'Magento_Theme';
25  $this->_controller = 'Adminhtml_System_Design_Theme';
26  if (is_object($this->getLayout()->getBlock('page.title'))) {
27  $this->getLayout()->getBlock('page.title')->setPageTitle('Themes');
28  }
29 
30  $this->buttonList->remove('add');
31  }
32 
38  public function getHeaderText()
39  {
40  return __('Themes');
41  }
42 }
__()
Definition: __.php:13