<?php

namespace FiloBlu\ActiveCampaign\Block\Adminhtml\System\Config\Form\Field;

use Magento\Framework\Data\Form\Element\AbstractElement;
use Magento\Config\Block\System\Config\Form\Field;

/**
 * Class Disable
 * @package FiloBlu\ActiveCampaign\Block\Adminhtml\System\Config\Form\Field
 */
class Disable extends Field
{
    /**
     * @param AbstractElement $element
     * @return string
     */
    protected function _getElementHtml(AbstractElement $element) {
        $element->setDisabled('disabled');
        return $element->getElementHtml();
    }
}