Smile\ElasticsuiteCore\Block\Adminhtml\Search\Request\RelevanceConfig\Scope\Switcher::_construct PHP Method

_construct() protected method

Internal constructor
protected _construct ( ) : void
return void
    protected function _construct()
    {
        parent::_construct();
        $this->setUseConfirm(true);
        $this->setUseAjax(true);
        $this->setShowManageStoresLink(0);
        if (!$this->hasData('switch_containers')) {
            $this->setSwitchContainers(false);
        }
        if (!$this->hasData('switch_store_views')) {
            $this->setSwitchStoreViews(true);
        }
        $this->setDefaultSelectionName(__('All Store Views'));
    }