CoreFiles by mySites.guru
PluginstatusField.php41 lines, 779 bytes, from Joomla_4.3.3-Stable-Full_Package.zip
Raw History Compare with 4.3.2
md5
5c704f4c47ea2c074a9154ac2d7f6e4f
sha1
7b7c56b8946eca8fa681b80dcfff359a1abba844
sha256
5c0f915b59ede6d51b63e7c7160d08a58bfe77df38f6306f8c8bb35b53ca9939
<?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 = [
        '0' => 'JDISABLED',
        '1' => 'JENABLED',
    ];
}

The same content is in 16 releases, Joomla 4.3.0-beta1 to 4.3.4. See them all, or every version of this file.