Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BmlApiWizard.php
Go to the documentation of this file.
1 <?php
8 
9 class BmlApiWizard extends ApiWizard
10 {
14  const WIZARD_TEMPLATE = 'Magento_Paypal::system/config/bml_api_wizard.phtml';
15 
22  protected function _getElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element)
23  {
24  $originalData = $element->getOriginalData();
25  $this->addData(
26  [
27  'button_label' => __($originalData['button_label']),
28  'button_url' => $originalData['button_url'],
29  'html_id' => $element->getHtmlId(),
30  ]
31  );
32  return $this->_toHtml();
33  }
34 }
__()
Definition: __.php:13
_getElementHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element)
$element
Definition: element.phtml:12