CoreFiles by mySites.guru
UserGroupBeforeDeleteEvent.php38 lines, 1,015 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
a2431a553d6add5713ae98973a4db378
sha1
7381845a03d13f090699e4e2e9e23815c8e2ec37
sha256
28894a6af93e3763a4e97b8290c5b4e9fc34fb043548880fbe7f7ea1e591c092
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Event\User;

use Joomla\CMS\Event\Model\BeforeDeleteEvent as ModelBeforeDeleteEvent;

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

/**
 * Class for Model event.
 * Example:
 *  new UserGroupBeforeDeleteEvent('onEventName', ['context' => 'com_example.example', 'subject' => $itemObjectToDelete]);
 *
 * @since  5.0.0
 */
final class UserGroupBeforeDeleteEvent extends ModelBeforeDeleteEvent
{
    /**
     * The argument names, in order expected by legacy plugins.
     *
     * @var array
     *
     * @since  5.0.0
     * @deprecated 5.0 will be removed in 6.0
     *
     * @TODO: In Joomla 6 the event should use 'context', 'subject' only
     */
    protected $legacyArgumentsOrder = ['data', 'context', 'subject'];
}

The same content is in 76 releases, Joomla 5.0.0-beta3 to 6.0.0-alpha3. See them all, or every version of this file.