Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variable.php
Go to the documentation of this file.
1 <?php
7 
14 class Variable extends \Magento\Backend\Block\Widget\Grid\Container
15 {
21  protected function _construct()
22  {
23  $this->_blockGroup = 'Magento_Variable';
24  $this->_controller = 'system_variable';
25  $this->_headerText = __('Custom Variables');
26  parent::_construct();
27  $this->buttonList->update('add', 'label', __('Add New Variable'));
28  }
29 }
__()
Definition: __.php:13