28 lines
743 B
PHP
Executable File
28 lines
743 B
PHP
Executable File
<?php
|
|
/**
|
|
* @author Olegnax
|
|
* @package Olegnax_Core
|
|
* @copyright Copyright (c) 2023 Olegnax (http://olegnax.com/). All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
|
|
namespace Olegnax\Core\Model;
|
|
|
|
use Magento\Backend\Block\Template\Context;
|
|
use Magento\Config\Block\System\Config\Form\Field;
|
|
use Magento\Framework\Data\Form\Element\AbstractElement;
|
|
|
|
class Spacer extends Field {
|
|
public function __construct(
|
|
Context $context, array $data = []
|
|
) {
|
|
parent::__construct($context, $data);
|
|
}
|
|
|
|
protected function _decorateRowHtml( AbstractElement $element, $html)
|
|
{
|
|
return '<tr id="row_' . $element->getHtmlId() . '"><td></td><td colspan="2"><hr class="ox-settings-spacer"></td></tr>';
|
|
}
|
|
|
|
}
|