Removed deprecated class

This commit is contained in:
Kevin Frantz
2019-03-29 23:35:03 +01:00
parent db2e4dac01
commit 0115751e98
4 changed files with 12 additions and 51 deletions

View File

@@ -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,