mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Removed deprecated class
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\DBAL\Types;
|
||||
|
||||
use Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType;
|
||||
use Infinito\Domain\FixtureManagement\FixtureSource\ImpressumFixtureSource;
|
||||
use Infinito\Domain\FixtureManagement\FixtureSource\GuestUserFixtureSource;
|
||||
|
||||
/**
|
||||
* Containes the system slugs.
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
* @todo Organize this somehow on an other way
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
final class SystemSlugType extends AbstractEnumType
|
||||
{
|
||||
/**
|
||||
* @deprecated
|
||||
* @see ImpressumFixtureSource
|
||||
*/
|
||||
public const IMPRINT = 'IMPRINT';
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @see GuestUserFixtureSource
|
||||
*/
|
||||
public const GUEST_USER = 'GUEST_USER';
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected static $choices = [
|
||||
self::IMPRINT => 'imprint',
|
||||
self::GUEST_USER => 'guest user',
|
||||
];
|
||||
}
|
@@ -58,9 +58,9 @@ class UserMenuSubscriber extends AbstractEntityMenuSubscriber implements EventSu
|
||||
$menu->addChild($this->trans($slug), [
|
||||
'route' => self::LAYER_GET_ROUTE,
|
||||
'routeParameters' => [
|
||||
'identity' => $slug,
|
||||
'_format' => RESTResponseType::HTML,
|
||||
'layer' => LayerType::SOURCE,
|
||||
LayerController::IDENTITY_PARAMETER_KEY => $slug,
|
||||
LayerController::FORMAT_PARAMETER_KEY => RESTResponseType::HTML,
|
||||
LayerController::LAYER_PARAMETER_KEY => LayerType::SOURCE,
|
||||
],
|
||||
'attributes' => [
|
||||
'icon' => $icon,
|
||||
|
Reference in New Issue
Block a user