CoreFiles by mySites.guru
UserGroupBeforeDeleteEvent.php38 lines, 1,015 bytes, from Joomla_5.4.2-Stable-Full_Package.zip
Raw History Compare with 5.4.1
md5
5f73f0c8987638f474c4daff0bf2cea9
sha1
106d6d79c5c0e23c4e50b6505071722e4130229c
sha256
23d31c2753179f56d640fcb664ab689c26140659e86fe8b2989bdcdd087489fe
<?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 7.0
     *
     * @TODO: In Joomla 7 the event should use 'context', 'subject' only
     */
    protected $legacyArgumentsOrder = ['data', 'context', 'subject'];
}

The same content is in 73 releases, Joomla 5.4.0-beta1 to 6.2.1-rc1. See them all, or every version of this file.