updated theme, fix deprecations in events dispatching (#1145)
This commit is contained in:
@@ -19,7 +19,10 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||
*/
|
||||
final class ConfigureMainMenuEvent extends Event
|
||||
{
|
||||
public const CONFIGURE = 'app.main_menu_configure';
|
||||
/**
|
||||
* @deprecated since 1.4, will be removed with 2.0
|
||||
*/
|
||||
public const CONFIGURE = ConfigureMainMenuEvent::class;
|
||||
|
||||
/**
|
||||
* @var Request
|
||||
|
||||
@@ -15,7 +15,10 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
final class DashboardEvent extends Event
|
||||
{
|
||||
public const DASHBOARD = 'app.dashboard';
|
||||
/**
|
||||
* @deprecated since 1.4, will be removed with 2.0
|
||||
*/
|
||||
public const DASHBOARD = DashboardEvent::class;
|
||||
|
||||
/**
|
||||
* @var User
|
||||
|
||||
@@ -17,7 +17,10 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||
*/
|
||||
final class PrepareUserEvent extends Event
|
||||
{
|
||||
public const PREPARE = 'app.prepare_user';
|
||||
/**
|
||||
* @deprecated since 1.4, will be removed with 2.0
|
||||
*/
|
||||
public const PREPARE = PrepareUserEvent::class;
|
||||
|
||||
/**
|
||||
* @var User
|
||||
|
||||
@@ -17,7 +17,10 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||
*/
|
||||
final class SystemConfigurationEvent extends Event
|
||||
{
|
||||
public const CONFIGURE = 'app.system_configuration';
|
||||
/**
|
||||
* @deprecated since 1.4, will be removed with 2.0
|
||||
*/
|
||||
public const CONFIGURE = SystemConfigurationEvent::class;
|
||||
|
||||
/**
|
||||
* @var SystemConfiguration[]
|
||||
|
||||
@@ -18,7 +18,10 @@ use Symfony\Contracts\EventDispatcher\Event;
|
||||
*/
|
||||
final class UserPreferenceEvent extends Event
|
||||
{
|
||||
public const CONFIGURE = 'app.user_preferences';
|
||||
/**
|
||||
* @deprecated since 1.4, will be removed with 2.0
|
||||
*/
|
||||
public const CONFIGURE = UserPreferenceEvent::class;
|
||||
|
||||
/**
|
||||
* @var User
|
||||
|
||||
Reference in New Issue
Block a user