CoreFiles by mySites.guru
PluginstatusField.php41 lines, 774 bytes, from Joomla_5.2.3-Stable-Full_Package.zip
Raw History Compare with 5.2.2
md5
3e77fc6cadcfe5bc6608dbe516498156
sha1
e7efd36c55771bf4a286218bd94e8016ef468a7c
sha256
213f0c52bdfba02a89868c0fbbc6f944c6e29abaf5f45fdcde1d5913d36b6c9b
<?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;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

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

    /**
     * Available statuses
     *
     * @var  string[]
     * @since  3.5
     */
    protected $predefinedOptions = [
        '0' => 'JDISABLED',
        '1' => 'JENABLED',
    ];
}

The same content is in 155 releases, Joomla 5.0.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.