unsScope()->unsCanUseWebsiteValue()->unsCanUseDefaultValue(); return parent::render($element); } protected function _getElementHtml(AbstractElement $element) { return $this->_toHtml(); } public function getCustomUrl() { return $this->getUrl('whiorders/connection/index'); } public function getButtonHtml() { $button = $this->getLayout()->createBlock('Magento\Backend\Block\Widget\Button')->setData(['id' => 'whi_test_connection', 'label' => 'Test Connection',]); return $button->toHtml(); } }