Your IP : 216.73.216.84


Current Path : /home/h/e/l/helpink/www/modules/mod_jdsimplecontactform/src/Field/
Upload File :
Current File : /home/h/e/l/helpink/www/modules/mod_jdsimplecontactform/src/Field/HelpField.php

<?php
/**
 * @package   JD Simple Contact Form
 * @author    JoomDev https://www.joomdev.com
 * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved.
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
 */
namespace Joomla\Module\Jdsimplecontactform\Site\Field;

// no direct access
\defined('_JEXEC') or die('Restricted access');

use \Joomla\CMS\Form\FormField;

class HelpField extends FormField {
	
	protected $type = 'help';

	// getLabel() left out

	public function getInput() {
		return '<a href="https://github.com/joomdev/JD-Simple-Contact-Form/wiki" target="_blank" class="btn primary-btn"><span class="icon-question-sign" aria-hidden="true"></span> Help</a>';
	}
}