system.reportwidgets.extendItems

Enables adding or removing report widgets.

You will have access to the WidgetManager instance and be able to call the appropiate methods $manager->registerReportWidget(); $manager->removeReportWidget();

Example usage:

Event::listen('system.reportwidgets.extendItems', function ($manager) {
     $manager->removeReportWidget('Acme\ReportWidgets\YourWidget');
});

Usage

Triggers

Class or file Line
Backend\Classes\WidgetManager 207
Copyright © 2024 Winter CMS