CoreFiles by mySites.guru
PluginstatusField.php42 lines, 734 bytes, from Joomla_3.10.3-Stable-Full_Package.zip
Raw History Compare with 3.10.2
md5
816a66d0b4c46c7e616ae2ae59a89948
sha1
9b97ed5c0e83468e8b8d953d19a5ca9bc01403a6
sha256
1152c20a51581976b402c9389572a20b3a3c3c71f88b0d2880a57419a36451b3
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Form\Field;

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('predefinedlist');

/**
 * Plugin Status field.
 *
 * @since  3.5
 */
class PluginstatusField extends \JFormFieldPredefinedList
{
	/**
	 * The form field type.
	 *
	 * @var    string
	 * @since  3.5
	 */
	public $type = 'Plugin_Status';

	/**
	 * Available statuses
	 *
	 * @var  array
	 * @since  3.5
	 */
	protected $predefinedOptions = array(
		'0'  => 'JDISABLED',
		'1'  => 'JENABLED',
	);
}

The same content is in 25 releases, Joomla 3.10.0-alpha2 to 3.10.12. See them all, or every version of this file.