![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-paypal/Block/Adminhtml/System/Config/Payflowlink/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Renderer for Payflow Link information */ namespace Magento\Paypal\Block\Adminhtml\System\Config\Payflowlink; class Info extends \Magento\Config\Block\System\Config\Form\Field { /** * Template path * * @var string */ protected $_template = 'Magento_Paypal::system/config/payflowlink/info.phtml'; /** * Render fieldset html * * @param \Magento\Framework\Data\Form\Element\AbstractElement $element * @return string */ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element) { $columns = $this->getRequest()->getParam('website') || $this->getRequest()->getParam('store') ? 5 : 4; return $this->_decorateRowHtml($element, "<td colspan='{$columns}'>" . $this->toHtml() . '</td>'); } }