CoreFiles by mySites.guru
PluginstatusField.php37 lines, 671 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
befdc5bfbd9da9c186649cb463f7e616
sha1
abae14acf9970784e6d2286618d610da89e2bbc1
sha256
211b9738a9f9d4653d2f717e3d24080bdeaa8d9f675f10e006953f79533c53bd
<?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;

/**
 * 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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.