Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
testconnection.phtml
Go to the documentation of this file.
1 <?php
6 // @codingStandardsIgnoreFile
7 ?>
8 <button class="scalable" type="button" id="<?= $block->getHtmlId() ?>" data-mage-init='{"testConnection":{
9  "url": "<?= /* @escapeNotVerified */ $block->getAjaxUrl() ?>",
10  "elementId": "<?= $block->getHtmlId() ?>",
11  "successText": "<?= /* @escapeNotVerified */ __('Successful! Test again?') ?>",
12  "failedText": "<?= /* @escapeNotVerified */ __('Connection failed! Test again?') ?>",
13  "fieldMapping": "<?= /* @escapeNotVerified */ $block->getFieldMapping() ?>"}, "validation": {}}'>
14  <span><span><span id="<?= $block->getHtmlId() ?>_result"><?= $block->escapeHtml($block->getButtonLabel()) ?></span></span></span>
15 </button>
if( $form)() ?>< script > require(['jquery' mage mage
Definition: save.phtml:15
$block
Definition: block.php:8