commented out the yml line untill it works
This commit is contained in:
parent
489f4c0c94
commit
17406061f9
@ -13,11 +13,11 @@ opencase.see_all_organisations_links:
|
|||||||
deriver: Drupal\opencase\Plugin\Derivative\SeeAllOrganisationsMenuLink
|
deriver: Drupal\opencase\Plugin\Derivative\SeeAllOrganisationsMenuLink
|
||||||
menu_name: opencase
|
menu_name: opencase
|
||||||
parent: opencase.see_all
|
parent: opencase.see_all
|
||||||
opencase.see_all_events_links:
|
#opencase.see_all_events_links: //@TODO findout why "view.events.page_1" does not work
|
||||||
class: Drupal\opencase\Plugin\Menu\SeeAllEventsMenuLink
|
# class: Drupal\opencase\Plugin\Menu\SeeAllEventsMenuLink
|
||||||
deriver: Drupal\opencase\Plugin\Derivative\SeeAllEventsMenuLink
|
# deriver: Drupal\opencase\Plugin\Derivative\SeeAllEventsMenuLink
|
||||||
menu_name: opencase
|
# menu_name: opencase
|
||||||
parent: opencase.see_all
|
# parent: opencase.see_all
|
||||||
opencase.opencase_add_new_things_menu:
|
opencase.opencase_add_new_things_menu:
|
||||||
title: 'Add new...'
|
title: 'Add new...'
|
||||||
menu_name: opencase
|
menu_name: opencase
|
||||||
|
@ -51,7 +51,7 @@ class SeeAllEventsMenuLink extends DeriverBase implements ContainerDeriverInterf
|
|||||||
foreach ($eventTypes as $id => $eventType) {
|
foreach ($eventTypes as $id => $eventType) {
|
||||||
$links[$id] = [
|
$links[$id] = [
|
||||||
'title' => $eventType->label(),
|
'title' => $eventType->label(),
|
||||||
'route_name' => "view.actors.page_1", //@TODO findout why "view.events.page_1" does not work
|
'route_name' => "view.events.page_1",
|
||||||
'route_parameters' => ['type' => $eventType->id()]
|
'route_parameters' => ['type' => $eventType->id()]
|
||||||
] + $base_plugin_definition;
|
] + $base_plugin_definition;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user