Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Instance.php
Go to the documentation of this file.
1 <?php
13 
18 class Instance extends \Magento\Backend\Block\Widget\Grid\Container
19 {
25  protected function _construct()
26  {
27  $this->_blockGroup = 'Magento_Widget';
28  $this->_controller = 'adminhtml_widget_instance';
29  $this->_headerText = __('Manage Widget Instances');
30  parent::_construct();
31  $this->buttonList->update('add', 'label', __('Add Widget'));
32  }
33 }
__()
Definition: __.php:13