CoreFiles by mySites.guru
PluginstatusField.php41 lines, 786 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
e78b220cb0923477383b10af5190e3e1
sha1
87f24e76ca430c7adaa1e71dff4fa0d155320ec8
sha256
c26fb5ba0aef9c6936d84aacf6d8a3aafa51bd042cb91da09f92592518f472ec
<?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('JPATH_PLATFORM') 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  array
     * @since  3.5
     */
    protected $predefinedOptions = array(
        '0'  => 'JDISABLED',
        '1'  => 'JENABLED',
    );
}

The same content is in 11 releases, Joomla 4.2.1 to 4.3.0-alpha2. See them all, or every version of this file.