By sleitner on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.4.x
Introduced in version:
11.4.0
Issue links:
Description:
A new MenuLinkTreeManipulatorsAlterEvent event has been added, which provides the ability to manipulate the menu link tree.
Code example
class MenuLinkTreeEventSubscriber implements EventSubscriberInterface {
public static function alterMenuLinkManipulators(MenuLinkTreeManipulatorsAlterEvent $event): void {
// Custom code.
}
public static function getSubscribedEvents(): array {
return [
MenuLinkTreeManipulatorsAlterEvent::class => ['alterMenuLinkManipulators'],
];
}
}
Impacts:
Module developers