/
githubmirror
/
joomla-cms
Обзор
Документация
Войти
/
githubmirror
/
joomla-cms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
5.4-dev
plugins/behaviour/compat6/src/Extension/Compat6.php
41 строка
931 B
Richard Fath
[5.4] Add compat6 behaviour plugin to 5.4 so it is available and enabled when updating to 6.x. (#45371)
26 апр 2025, 17:36
Не верифицирован
26 апр 2025, 17:36
1dd5bfc
Код
Авторство
О чём код?
<?php /** * @package Joomla.Plugin * @subpackage Behaviour.compat6 * * @copyright (C) 2025 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Plugin\Behaviour\Compat6\Extension; use Joomla\CMS\Plugin\CMSPlugin; use Joomla\Event\SubscriberInterface; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Joomla! Compat6 Plugin. * * @since 5.4.0 */ final class Compat6 extends CMSPlugin implements SubscriberInterface { /** * Returns an array of CMS events this plugin will listen to and the respective handlers. * * @return array * * @since 5.4.0 */ public static function getSubscribedEvents(): array { /** * This plugin does not listen to any events. */ return []; } }