Smile\ElasticsuiteThesaurus\Block\Adminhtml\Thesaurus\Edit::_construct PHP Method

_construct() protected method

Internal constructor
protected _construct ( ) : void
return void
    protected function _construct()
    {
        $this->_objectId = ThesaurusInterface::THESAURUS_ID;
        $this->_blockGroup = 'Smile_ElasticsuiteThesaurus';
        $this->_controller = 'adminhtml_thesaurus';
        parent::_construct();
        $this->buttonList->update('save', 'label', __('Save Thesaurus'));
        $this->addButton('save_and_edit_button', ['label' => __('Save and Continue Edit'), 'class' => 'save', 'data_attribute' => ['mage-init' => ['button' => ['event' => 'saveAndContinueEdit', 'target' => '#edit_form']]]]);
        $this->buttonList->update('delete', 'label', __('Delete Thesaurus'));
    }